Pass HTML contents through javacript function

Javascript coding ..

Moderators: macek, egami, gesf

lvidya
New php-forum User
New php-forum User
Posts: 37
Joined: Wed Jun 20, 2012 3:20 am

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

Return to “JavaScript”

Who is online

Users browsing this forum: No registered users and 0 guests