Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 284
  • Last Modified:

I'm getting a ) missing after argument list

Hi - I have this code which is a DIV that I want to drop down after page load if the criteria is met but it doesn't seem to be working.  I would actually rather have that run from the body if there is specific criteria met.

$(document).load(function ( {
    $('#idflightdutylimitation').slideToggle();
});

Open in new window

0
zack4x4
Asked:
zack4x4
2 Solutions
 
GaryCommented:
$(document).load(function () {
    $('#idflightdutylimitation').slideToggle();
});

Open in new window

0
 
Ray PaseurCommented:
Any IDE with JavaScript syntax checker should catch this for you.  Some useful links:
http://www.jslint.com/
http://jsfiddle.net/
0
 
zack4x4Author Commented:
I use Rapid PHP 2014 but I figured it out it was actually a problem with the code I had above this piece of code.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now