There is an input type=text in the form, how can I get the value of the text box by tapping the text box to pop up the date selector? Because there is no value assignment, the post comes to a null value.
The text box date selector code is as follows:
JS as follows:
function Hs_setdate (inputobj) {var calenderobj = document.createelement ("span"); calenderobj.innerhtml = Hs_calender ( New Date ()); calenderObj.style.position = "absolute"; calenderobj.targetobj = Inputobj; InputObj.parentNode.insertBefore (calenderobj,inputobj.nextsibling);}
Get the value of $_post[' Bgntime '] is empty, how to get to date?
Reply to discussion (solution)
Http://www.my97.net/dp/demo/index.htm
You????, very useful, and compatibility is not? You don't have to be in the JS.
This code test does not come out, you look at the Firebug under the time of the click Date where the value is placed
Http://www.my97.net/dp/demo/index.htm
You????, very useful, and compatibility is not? You don't have to be in the JS.
Just use this ready-made bar!
Http://www.my97.net/dp/demo/index.htm
You????, very useful, and compatibility is not? You don't have to be in the JS. This has been used before, post value can not pass, how to solve??
$_post[' Bgntime ']
The variable name of PHP is case-sensitive