SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: syntax error

  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2006
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    syntax error

    Hello,

    Can any of you see any syntax errors in this code. I just can't find the error.

    Best regards.
    Asbjørn Morell.



    Code JavaScript:
    	executeInlineJs: function(oJson) {
    		console.log("executeInlineJs", oJson);
    		$H(oJson).each(function(sJs) {
    			eval(unescape(sJs));
    		}.bind(this));
    	},
    Last edited by atmorell; May 27, 2007 at 17:57. Reason: highlight on code

  2. #2
    Non-Member DelvarWorld's Avatar
    Join Date
    Jul 2004
    Location
    Baloney
    Posts
    341
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What is this doing?
    "$H(oJson)"
    and have you tried removing the comma at the end?


Bookmarks

Posting Permissions

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