Ticket #6786 (closed bug: invalid)
Show Dialog box below the link
| Reported by: | thompsonfranklin@… | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.1 | |
| Component: | ajax | Version: | 1.4.1 |
| Keywords: | Dialog | Cc: | |
| Blocking: | Blocked by: |
Description
<div id="dialogBoxDiv"></div> <a href="javascript:void(0)" onClick="$.showDialog()" id="ReportDivId">Show Report</a> <script> var resp = "<input>"Some Ajax Response
var position = $("#ReportDivId").position();
var left_pad = position.left; var top_pad = position.top; $("#dialogBoxDiv").attr("title", "<span class='bodytext'>Report</span>");No I18N
$("#dialogBoxDiv").html(resp);
$('#dialogBoxDiv').dialog('option','position',[500, 100]);
<script>
On CLicking the Link the Dialog is always come in the Center. I want below the link.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

The best place to get programming help is on the forum: http://forum.jquery.com