Connect with Peer Bloggers

Get your Bloggers ID and network with best bloggers around the world.

10

Add a jquery datepicker on jquery dialog box via load method

Czetsuya
czetsuya's tech ― Recently I've worked on a form that requires a jquery datepicker to be rendered inside jquery's dialog element. Where I encountered several problems like:1.) datepicker() should be invoke inside dialog2.) the dialog created (div) should be remove from the page bodyHow I load the dialog using jquery's load method:// Generate a unique id for the dialog div var dialogId = 'uniqueName-' + Math.floor(Math.random() * 1000) var dialogDiv = ""; // Load the form into the dialog div [...]

Voted by 1 User



What would you say?

Be the first to comment on this blog post! Sign in or Create an account.