Jump to content

php / javascript trouble


servvs

Recommended Posts

Ok so I am having trouble with one line of code. I am sure there is an easy fix to this but I just can't seem to figure it out or find it on the net.

 

echo '<a href="#" onclick="toggleItem('myTbody')">Toggle</a>'

 

I know what I am doing wrong its the ('myTbody') but not sure what to do to fix it

Link to comment
https://forums.phpfreaks.com/topic/108290-php-javascript-trouble/
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.