Jump to content

Or statement with jquery functions


Shadowing

Recommended Posts

Hey guys im trying to figure out how to do a or statement or make this read how I want it too.

 

if either of these two are clicked stuff happends. what i really want it is it linked to the same toggle.

 

$("input#show_invitations_button") || $("th#show_invitations").toggle(function(event){

 

anyone know how to do this?

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/261013-or-statement-with-jquery-functions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.