simplemodal

SimpleModal breaks ASP.Net Postbacks

I'm using jQuery and SimpleModal in an ASP.Net project to make some nice dialogs for a web app. Unfortunately, any buttons in a modal dialog can no longer execute their postbacks, which is not really acceptable. There is one source I've found with a workaround, but for the life of me I can't get it to work, mostly because I am not full...

How do I get a result from a modal dialog in JQuery

I would like to use an add-in like simplemodal or the dialog add-in in the UI kit. However, how do I use these or any other and get a result back. Basically I want the modal to do some ajaxy interaction with the server and return the result for the calling code to do some stuff with. Thanks. ...

SimpleModal containerCSS not working in Firefox or Chrome

Good Afternoon, I tried to override the settings in the default stlyesheet that comes with the simplemodal jquery plugin with containerCSS which is working fine in IE7 but not Firefox or Chrome. Not sure if this is a bug or I am doing something wrong. jQuery: $(document).ready(function() { $("#ButtonPopup").click(function()...

Submit with JQuery in firefox 3 & opera in a modal dialog box from SimpleModal

I'm trying to submit a form who is rendered in a SimpleModal dialog, but my submit is never called when I'm using FF3 & Opera (Chrome, Safari and IE works). I use the following code: function ShowModal(rendercontainerid, modalcontainerid, url) { if (url == '') return; $.get(url, function(data) { $(rendercontainer...

Simple Modal in JQuery

Dear all, I am using SimpleModal in JQuery, and I have One Confirm Dialog ,If it is Yes , I have To Call my.php into This Dialog,However I done the code ,I still Searching Ideas, any help? $(document).ready(function () { $('#confirmDialog input.confirm, #confirmDialog a.confirm').click(function (e) { e.preventDefault(); ...

Simple Modal Not Working In Firefox 3 & IE 7

I am using the simple modal and AJAX, when I try to read the content from AJAX it works fine in Chrome. There is problem in IE7 and Firefox 3. What am I doing wrong? My code: print("code sample"); $(document).ready(function () { $('#confirma, #confirmDialog a.confirm').click(function (e) { e.preventDefault(); // exam...

Is it possible to use SimpleModal with ASP.NET MVC

Hi everyone, Is it possible to use SimpleModal (jquery plugin) with ASP.NET MVC. Since it has postback stuff init. thanx Owais ...

SimpleModal Problem in jQuery

Dear all, I am using simplemodal in jQuery. I used Ajax for displaying radio buttons. It should list the radio button and values, after the radio button click the page to be Redirected to page2. When I tested it on localhost everything was fine. But it doesn't redirect the page on the web server. Any change I should make? My code: ...

jQuery tabs interfering with SimpleModal in IE

I have a page that has two tabs created using jQuery, and I am also using Eric Martin's SimpleModal plugin. However when I am in IE7, the SimpleModal overlay is appearing completely opaque, and not the 50% opacity I wanted. If I remove the tabbing, the modals appear just fine. I looked at the overlay style info in IE Dev Toolbar and i...

Modal Form in asp.net mvc RC using jquery

I am new to ajax / jquery and have had difficulty finding a simple sample incorporating the following: ASP.Net MVC RC1 (or 2) jquery modal form I would like the user to be able to click a link/button in a View (Parent) and have a modal form appear that contains a form. the contents of the modal dialog should be an MVC view (Child). ...

Is there any way to increase the display speed of the SimpleModal dialog in jQuery?

I am using the SimpleModal plug-in in jQuery. When I use the action event, the modal dialog appears slowly. Is there any way to increase the speed of the modal dialog, so it appears quicker? ...

How do you close a jQuery Simplemodal?

I want to close a Simplemodal window from a JavaScript function that gets called automatically after a form is submitted and the results recived (AJAX), using ASP.Net MVC. How do I close a jQuery Simplemodal? I've opened it this way: $("#popup").modal() ...

Modal Dialog Box

Hi All, I have created two forms in my Windows Application. One Form acts as a Form and the other form acts as a MODAL DIALOG BOX. The Form Dialog Box contains a button and One textBox. When this button is clicked the MODAL DIALOGBOX should be displayed. This dialog box also contains One Textbox and Two Buttons(Ok and Cancel). Now wh...

how do i have dynamic confirmation popup using simple modal

I am using simple model which is a very neat piece of code but i have one requirement i can't figure out. http://www.ericmmartin.com/simplemodal/ my use case is the third options where i want a "Confirmation Popup" after a user clicks on an action. The issue is that in the example the message is hardcoded in the js file. i need to be...

Simplemodal ajax call

Hello everyone, I'm implementing Simplemodal in an application of mine using this code: $(".dialog-link").live('click', function(e) { e.preventDefault(); $.get($(this).attr('href'),function(data) { $.modal(data, {onOpen: open, position: ['10%','30%']}); ); }); (FYI: the onOpen callback just sets some height) The document return...

text input in IE7 seems to stop working

DISCLAIMER This is not something that I can replicate in anything other than a full sample, which sadly is not practical as it only happens on a specific PC. I am also aware that the information I have is very flaky. I have one user (my boss) who runs IE7 and has no addins other than the basic bits like flash etc. On one page and one p...

JQuery SimpleModal

I've got a submit button inside my modal, and when it's pressed nothing happens! How do I make my form submit when the push my submit button? I don't want to use $('form').submit(); because then php doesn't detect that my button was clicked. <script type="text/javascript" language="javascript"> $(document).ready(function () { ...

JQuery SimpleModal - Newbie here trying to get a simple asp form to open up in a modal window.

I found it very easy to implement modal windows that included an html or asp page in it with facebox but I wanted to give SimpleModal a try. I was trying to learn how to use the Contact Form http://www.ericmmartin.com/simplemodal/ but realized it was only for php. I am a novice coder so please have some mercy. :) . Anyhow what I was ho...

simplemodal window covered up by embedded youtube video

I'm trying to use the simple modal jquery library on a page and the modal popup is being hidden behind an embedded youtube object on my page. I tried messing around with z-index, but couldn't figure this out. Any suggestions? ...

jquery simplemodal dynamic height

I'm using the simplemodal popup in jquery, and I would like to set the height of my popup dynamically depending on my content. Currently, it is fixed at 500. If I remove the height property, then it works the first time, but if the content grows, then the height doesn't adjust itself (I have tabs within my popup and each tab loads diff...