Jump to content

calling a function twice


ess14

Recommended Posts

Is there some reason why you cant do the followng in javascript?

 

function showOne(elem_id){

hideAll( );

elemOn( elem_id );

elemOn( elem_id+"T" );

}

 

is it okay to call the elemOn function twice with differant variables?

for some reason it will only do the one that comes first.

 

not a big javascript guy so maybe its not possible? any more information or help?

Link to comment
https://forums.phpfreaks.com/topic/82463-calling-a-function-twice/
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.