Board index   FAQ   Search  
Register  Login
Board index php forum :: HTML JavaScript

Pass HTML contents through javacript function

Javascript coding ..

Moderators: macek, egami, gesf

Pass HTML contents through javacript function

Postby lvidya » Mon Aug 13, 2012 1:53 am

I have a function to display contents from mails, and when clicks the table row it should go to a function called, showmessage

Code: Select all
showmessage('.htmlentities($html).', '.$header1.', '.$subject1.', '.$fromaddress.', '.$time.', '.$attachments.')

but it says "SyntaxError: missing ) after argument list"
what to do pls help
New php-forum User
New php-forum User
Posts: 37
Joined: Wed Jun 20, 2012 3:20 am

Return to JavaScript

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.