Skip to main content

All Questions

Tagged with
7 votes
3 answers
8k views

How do I set the containment on a jQuery UI Dialog?

Is it possible to add containment (confining to the boundary of another element) to jQuery UI's Dialog?
0 votes
2 answers
3k views

Error: TypeError: $(…).dialog is not a function

i am trying to load a dialog box using jquery.but the problem is that when i click on a link to open the dialog box it did'nt open.also i get an error as" $("#dv").dialog is not a function " this is ...
8 votes
2 answers
32k views

How to execute function after opening a jQueryUI Dialog?

On my web page i have some links like : <div id="toolbarButtons"> <a href="actualites/addLink" id="liens" rel="lien" title="Insérer un lien" class="toolbarButton"><span><img ...
9 votes
2 answers
31k views

jQuery Confirm Dialog in ASP.NET Button OnClientClick

I have a TemplateField in a GridView in an UpdatePanel with a button called btnDelete. Rather than the standard OnClientClick="return confirm('Are you sure?')" I'd like to use jQuery Dialog. So far, ...
0 votes
1 answer
37 views

Jquery Dialog opening multiple times when contains textfield, textareas etc

For some reason when I open a dialog that contains input types it opens multiple Dialogs. Here is my code: var addTagsDialog = $("<p>This is just a test tag</p> <br /><...
5 votes
1 answer
15k views

Jquery ui Dialog Modal True

I am use jQuery v1.8.2 and jQuery UI v1.9.2. so My Problem is that. On Button click event i have close the dialog $('#oldInvoiceDialogDiv').dialog('close'); But Modal Property Remaining Means ...
0 votes
2 answers
2k views

Object doesn't support property or method 'dialog'

I am trying to implement a modal dialog by using jquery in my application. It should work by popping out a modal dialog to display a web page (url) once I clicked on a button. But I keep getting ...
0 votes
1 answer
616 views

Jquery UI dialogue accessibility (screen reader) issue

I have a simple jquery ui dialogue like below : <div class="error" id="errorMsg" role="dialog" > </div> I have a login form below this and i use this id="errorMsg" to display a popup. ...
1 vote
1 answer
701 views

JQuery dialog box radio button value not staying after clearly being selected

I have a simple radio button to pick hair color. I decided to use Jquery and turn it into a "controlgroup" so I could make it look nicer than just a regular radio button list. <div id='hair-hunch-...
46 votes
5 answers
112k views

$(...).on is not a function - jQuery Error

I am using dialog box, which I am closing when a user click anywhere on page expect that dialog box. Here is my code: $('body').on('click','.ui-widget-overlay',function() { $('#...
6 votes
4 answers
9k views

Why jQuery UI Dialog has no minimize, maximize buttons?

I am using jQuery-1.9.1 and jQuery-ui-1.10.2 to popup a dialog, my code is below: <script type="text/javascript" src="js/jquery-1.9.1.min.js"></script> <script type="text/javascript" ...
0 votes
1 answer
122 views

how to add box shadow when scrolling in jquery dialog

I want to add box shadow on .ui-dialog-titlebar when scrolling in dialog box. Something like this: Here is my code: $(function(){ $("#dlg-vop").dialog({ autoOpen: false, ...
1 vote
4 answers
5k views

jQuery Dialog, closing when click outside

I know I can use the following to close the dialog box by clicking outside: $('.ui-widget-overlay').click(function() { $("#dialog").dialog("close"); }); But how do I change this so it works for ...
0 votes
1 answer
56 views

My jQuery UI Dialog doesn't open if not preceded by an alert

At the start of my HTML page, the definition of my dialog : <script type="text/javascript"> $(function() { $( "#dialog-confirm" ).dialog({ autoOpen: false, resizable: true, height:...
0 votes
2 answers
828 views

jQuery ui dialog custom close functions

I am trying to find a way to call custom functions for close and save using my jQuery UI dialog. $("#checkbox-confirm").dialog({ width: 600, autoOpen: false, modal: true, responsive: ...

15 30 50 per page
1
3 4
5
6 7
33