After the user hits submit. Also, how would I get it to update the database onblur?
[HTML] <div id="response">P lug expiration date by selecting an active days. <input type="hidden" name="txtExp" id="txtExp" value="<?php echo $_SESSION['txtExp']; ?>"/> [/HTML]...
User Profile
Collapse
-
I have the following code but it seems the hidden field is always 1 step behind. How do I go about getting the current value?
[HTML]<div id="response">< input type="hidden" name="txtExp" value="<?php echo $_SESSION['txtExp']; ?>"/></div>[/HTML]Leave a comment:
-
Sorry I don't get it?
[HTML]input name="txtExp" id="txtExp" value="<div id="response"> </div>"[/HTML]Leave a comment:
-
-
JazzSingerNL it woks like a charm. However, I have 1 more question. How would I store the value of div id="response" into a database?Leave a comment:
-
-
Dropdown calculates date
Can someone guide me in the right direction? I have a drop down with values of 1 through 14 (1 = 1 day, 2 = 2 days, 3 = 3 days, ect). The onchange the drop down should calculate the days starting from today. If today is 4/1/08 and the user selects 3 then the output should show 4/4/08. However, my problem is that the date is not changing.
[HTML]<select name="lstPrpTyp eDesc" id="lstPrpTypeD esc" onblur="validat e(this.value,...
No activity results to display
Show More
Leave a comment: