Dear All.
I want to show and hide a DIV tag in each row by clicking on check box.
my code is here:

$myCont="container_".$s;
$e .='<input onclick="showHide('.$myCont.');"  type="checkbox" />

and in another file I create DIV with none static id:

$e .='<div id="container_'.$s.'" style="display:none;">';

it is not work in showHide function when I click on check box.
please help me.

Hey guys!
It's so easy, but I do not know how can I send the div name with js function in this code: showHide('.$myCont.');
I do not know structure of the create multi name
please help me, it's very emergency.!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.