Hi:
I am creating a new code field using Enhanced Studio that creates a button. What is happening is that when I click Save and go back into edit the field, the onclick gets removed.
Here is the original code:
Here is the code after I click Save:Code:$ndate = date('Y-m-d'); echo " <button onclick=\"document.getElementById('description').value += 'test '\">$ndate</button> " ;
Anyone know why this is happening?Code:$ndate = date('Y-m-d'); echo " <button =\"document.getElementById('description').value += 'test '\">$ndate</button> " ;
Thanks
Dave


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks