Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Don't know what wrong with this
Message
 
General information
Forum:
Javascript
Category:
JQuery
Miscellaneous
Thread ID:
01595818
Message ID:
01595870
Views:
58
>>>ok - added the '==' and apparently had an parenthesis issue ('splain to me how this syntax is so dang much better??)
>>
>>The = does assignment. The == does comparison.
>>
>>and the whole thing needs to been in paraens.
>>
>>
if (condition == value) {
>>
>>
>>>now it's not liking the
>>>
>>> $("#CustomCode").hide();
>>>$("#CustCode").hide();
>>>
>>>Error is "SCRIPT5007: The value of the property '$' is null or undefined, not a Function object"
>>>
>>>CustomCode is the id of a label
>>>CustCode is the id of a textbox
>>>
>>>I want them hidden until they're needed.
>>>
>>>As you can probably tell, I barely have the first vaguest clue of what I'm doing. OJT - gotta love it.
>>
>>
>>Looks like you don't have jquery loaded on the page. Something like this somewhere:
>>
>><script src="pathto/jquery.js"...
>>
>>You can also try jQuery() instead of $().

I thought $() was just shorthand for jQuery(). Are there times when the behavior differs?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform