Jump to content

JS inside PHP


pranshu82202

Recommended Posts

I have a php code... In which there is a link and i want to apply a javascript onclick event onthat link...

 

echo "<a onclick=vieww_det(". $arr[$i].", ".$arr[$j].")>View Details </a>";

 

But its not working...

 

Any help will be appreciated :)

 

- Pranshu Agrawal

pranshu.a.11@gmail.com

Link to comment
https://forums.phpfreaks.com/topic/253210-js-inside-php/
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.