Announcement

Collapse
No announcement yet.

got problems uploading images via javascript

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    got problems uploading images via javascript

    ive been working on this for the last day or so

    ive got it nearly working


    keeps giving errors

    the test page here


    that works

    the script came from
    http://www.seemysites.net/projFolder/uploader/

    can anyone see what im doing wrong

    many thanks

    titch
    Remembering the road to Actinic enlightenment is a long and sometimes painful one.
    Current project:
    cheapadulttoys4u.co.uk
    cheaplingerie4u.co.uk
    Something for the Missus,Something for the Weekend

    #2
    The working demo has:
    Code:
    <link href="upload.css" type="text/css" rel="stylesheet"/>
    <script type="text/javascript" src="json_c.js"></script>
    <script type="text/javascript" src="upload_form.js"></script>
    <script type="text/javascript" src="sr_c.js"></script>
    And the failing one has
    Code:
    <link href="upload.css" type="text/css" rel="stylesheet"/>
    <script type="text/javascript" src="jquery.js"></script>          
    <script type="text/javascript" src="customjquery.js"></script>
    <script type="text/javascript" src="json_c.js"></script>
    <script type="text/javascript" src="upload_form.js"></script>
    <script type="text/javascript" src="sr_c.js"></script>
    So something in those extra files may be the culprit. If you check your page using Firefox and use its Tools / Error Console you'll see the exact error.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      changed now it says

      theForm.elements has no properties
      for (var i=0;i<theForm.elements.length;i++) {
      Remembering the road to Actinic enlightenment is a long and sometimes painful one.
      Current project:
      cheapadulttoys4u.co.uk
      cheaplingerie4u.co.uk
      Something for the Missus,Something for the Weekend

      Comment


        #4
        That's the error I saw earlier. As this isn't really an Actinic problem you might get more pertinent help on http://forums.seemysites.net/
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          been reading through there ;( ill go have another look
          Remembering the road to Actinic enlightenment is a long and sometimes painful one.
          Current project:
          cheapadulttoys4u.co.uk
          cheaplingerie4u.co.uk
          Something for the Missus,Something for the Weekend

          Comment

          Working...
          X