Click here to Skip to main content
15,892,697 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Am creating a popup with Dynamic textbox and make it to select date by assigning Datepicket to it by using jquery as follows:

VB
Dim htmlString As string= "<script type='text/javascript'>" & _
                          "$.noConflict();" & _
                          "jQuery('#txtStartDate').css({" & _
                          "'position': 'relative',  " & _
                          "'z-index': 999999 });" & _
                          "jQuery(document).on('focus','#txtStartDate',function(){" & _
                          "jQuery('#txtStartDate').datepicker({ dateFormat: 'dd-mm-yy', maxDate: new Date()});" & _
                          "jQuery('.datepicker').focus();});" & _
                          "</script>" & _


but it is not Working, popup is not showing because of it.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900