Geeks With Blogs
Stuff I do my notepad December 2009 Entries
Jquery Simple Modal plugin
You can upload this example from here (I had made some small modification to the original code but it should be easy to understand. This solution uses just HTML and jQuery): http://cid-4fb5a48846336376... I needed a very simple solution that allows me to show centered modal div. ASP.NET Ajax Control Toolkit has modal popup ( And also there are many of jQuery examples. But ......

Posted On Sunday, December 20, 2009 2:27 PM

My jQuery cheat sheet
I want to put in this post some the jQuery methods that I found myself searching the web every other time i need them for the future reference. Check if element exists: if ($('#elementID').length > 0) { // do somehting } Disable/enable element $('#elementID').attr('disab... 'disabled'); $('#elementID').removeAttr(... Clear DropdownList or ListBox $('#ddl_ID >option').remove(); Add entry in the DropDownList or ListBox $('#ddl_ID').append($('<... ......

Posted On Wednesday, December 16, 2009 8:28 PM

Copyright © vladimirl | Powered by: