Announcement

Collapse
No announcement yet.

check for url within javascript

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

  • check for url within javascript

    One of our members has posted a question regarding an xml document and javascript:

    This script works fine when a <URL> element is in the <STORY> element, but when a <URL> does not exist the script stops writing everything after that point in the XML. What I was trying to do was add a simple if routine to the script to check for a <URL> and if not present skip it and go on.
    Just wondered if anyone here has a solution.

    Thanks
    Techzonez - Tech News
    Techzonez Forums - Tech Community

  • #2
    That's way too little information to work with...
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X