Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Location
    Brighton, UK
    Posts
    282
    Thanks
    1
    Thanked 0 Times in 0 Posts

    error on if else jscript statement

    Hello I am trying to get this IF ELSE statement working, but it is coming up with errors (error 500) can anyone see where I have gone wrong... i am using jscript .. many thanks chris


    if (Request.form("Keywords")<>"") {
    xmlFeed.load(xmlDoc +"mkt=uk&adultFilter=clean&maxCount=10&outputCharEnc=latin1&keywordCharEnc=latin1&Partner=creativest udio_xml_uk_searchbox_test&Keywords=" + xmlQuery );
    }
    else
    {
    xmlFeed.load(xmlDoc +"mkt=uk&adultFilter=clean&maxCount=10&outputCharEnc=latin1&keywordCharEnc=latin1&Partner=creativest udio_xml_uk_hotspot_test&Keywords=" + xmlQuery );
    }
    <marquee>thanks</marquee>

  • #2
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    try
    if (Request.form("Keywords")!="") {
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


  •  

    Posting Permissions

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