User Profile

Collapse

Profile Sidebar

Collapse
moksha
moksha
Last Activity: Apr 18 '08, 08:18 AM
Joined: Feb 27 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • moksha
    started a topic javascript code for pop-up calender

    javascript code for pop-up calender

    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.
    See more | Go to post

  • 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' );...
    See more | Go to post
    Last edited by acoder; Mar 3 '08, 10:49 AM. Reason: Added code tags

    Leave a comment:


  • 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...
    See more | Go to post

    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...
    See more | Go to post

    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...
    See more | Go to post
    Last edited by acoder; Feb 28 '08, 11:11 AM. Reason: Added code tags
No activity results to display
Show More
Working...