CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1

    javascript input button question

    Hi guys,

    I'm trying to add a php string to some javascript:

    document.getElementById("button").value = mygetrequest.responseText;

    basically there are a load of buttons on one page. So i need to add a value at the end of button. Basically the ID of each row so button<? echo $row['ID']; ?> but i'm not too sure how i would do this in javascript.

    Any help


    Thanks in advance

  2. #2
    Join Date
    Oct 2010
    Posts
    60

    Re: javascript input button question

    Java != Javascript. I don't know anything about the latter, so I can't help. :\

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured