If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Mar 2009
    Member #
    Here is the pastey of my php script after server side compilation.

    There are three textboxes whom's content should be changed by javascript. The first two boxes changes successfully, but not the third. The Opera error console error states

    Quote Originally Posted by opera error console
    JavaScript - http://localhost:*****/;%2FGraXXL=0
    Event thread: click
    name: TypeError
    message: Statement on line 6: Cannot convert undefined or null to Object
    Line 6 of inline#1 script in http://localhost:*****/confirmOrder....p;%2FGraXXL=0: In function confirmed
    document.confirmform.confirmformcontent.value = "testcontent";
    Line 1 of function script
    stacktrace: n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace'
    Thanks for any help


  3. #2
    Senior Member
    Join Date
    Jun 2005
    Atlanta, GA
    Member #
    1 times
    Did you fix it? If not, it looks like an issue with it not finding the field, though the naming looks right. Regardless, you should not be accessing fields like that. Give them each an id and then use document.getElementById to get a hold of them, it will be easier.

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 08:59 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: