www.webdeveloper.com
Results 1 to 2 of 2

Thread: How to put "(" in Javascript parameter

  1. #1
    Join Date
    Oct 2009
    Posts
    4

    How to put "(" in Javascript parameter

    Hi,

    I am trying to pass "(" and ")" in a string for a Javascript parameter, however the script thinks it's missing a ")". Thanks.

    functionDo('test', 'abc(def)gh'); // fails when there's brackets.

  2. #2
    Join Date
    Jul 2008
    Location
    urbana, il
    Posts
    2,787
    "functionDo" is not a word, but brackets in strings are just fine...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles