Bug Tracker

Modify

Ticket #6786 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

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

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.