Loading...
 
Development

Development


Re: Hiding Div with JQ and Pretty Tracker

posts: 1797 Catalan Countries

I presume that you don't need the{CODE()}

{HTML(wiki="1")}

{CODE}

part.

 

I guess that you need to surround with a

{DIV(id="release")}

your relese info

{DIV}

 

so that your jquery code finds the div "release" and hides it as you expect.



 

And for the condition, in case it doesn't work (I'm not an expert in jquery), you can try to check against empty value or something like: 

if ($("#ins_14").val() === '') {


I hope this helps.

Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.