hi friends,
In my application i have date field.To enter date i want to calender control.
When i keep my cursor on textbox calender should popup and the selected value in calender has to be displayed in textbox.
i need javascript code for tis.
User Profile
Collapse
-
javascript code for pop-up calender
-
i have tried innerHTML in catch block(used for firefox) like this :
[CODE=javascript]try{
rdo = document.create Element('<input type="radio" name="fldID'+nu m+'"/>');
rdo1 = document.create Element('<input type="radio" name="fldID'+nu m+'" />');
}catch(err){
rdo = document.create Element('input' );... -
thanks 4 response.
But i didn't get u and i have tried with innerHTML too its not working.
Only with try n catch iam able to make code work in both ie and firefox.
(i want my code to work with firefox).
any suggestions plz...Leave a comment:
-
Thank u
The code that you have given for try block
rdo = document.create Element('<input type="radio" name="fldID'+nu m+'"/>');
is working fine with internet explorer.
And i changed the code in catch block to make code work with Firefox too as follows
rdo1.setAttribu te('name',"fldI D'+num+'");
and its not working...Leave a comment:
-
How to give group name for dynamically created radio buttons.
Hi,
I am new to javascript and i am facing a problem in coding.
plz help me out.
I am using javascript for dynamically creating a table row which contains text boxes and radio buttons and check box.
I am adding two radio buttons once for a row.Now my problem is the radio buttons in all the rows that added dynamically are behaving as same group i.e
when i am selecting a radio button in second...
No activity results to display
Show More
Leave a comment: