Results 1 to 4 of 4

Thread: 2 functions

  1. #1
    baze7 is offline Member
    Join Date
    Aug 2009
    Posts
    1
    Rep Power
    0

    Default 2 functions

    I have 2 java functions on 1 text box. Is there a way to have 1 trump the other? Here is the code. What is does is if someone clicks the text box, it brings up a calendar, but I also have a radio button that is I select I want the date2 box disabled. Here is that function:
    <input type="radio" onclick="makeEnable();chgtxDisable()" value="V3" name="R1">




    <input onclick="ds_sh(this);" name="date2" readonly="readonly" style="cursor: text" size="20" />&nbsp; </td>

    Let me know if you need more info.

    Thanks
    Chad

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Edit: I've reviewed some of the function calls made above and it seems that this is in fact JavaScript code while this forum is a Java forum. The two languages are very different but unfortunately share a similar name. While there is an outside chance someone can help you with this here, you will likely have much better luck posting this type of question in a JavaScript forum. I wish you the best of luck.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Ya, this is not about Java, about JavaScript. Better to move to a JS forum. Sorry I've to close the thread. In any case please contact one of our moderators through a private message. Good luck.

Similar Threads

  1. Calling java functions from c++
    By khajalid in forum New To Java
    Replies: 13
    Last Post: 10-12-2010, 11:50 PM
  2. Functions in jsp
    By samson in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 03-25-2009, 11:04 PM
  3. Button Functions
    By codeflip in forum New To Java
    Replies: 1
    Last Post: 03-12-2009, 03:26 AM
  4. problems with functions
    By kri in forum New To Java
    Replies: 6
    Last Post: 02-07-2009, 09:09 PM
  5. HashMap functions get vs put
    By tahni in forum New To Java
    Replies: 3
    Last Post: 01-14-2009, 07:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •