Loading...
 
Development

Development


Re: Hiding Div with JQ and Pretty Tracker

posts: 1817 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.