We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

missing ) after argument list in js

hello, i have this code

$divToSubjectShow = "<div id='subjC".$subId."'><div class='boxC'>".$subName."<span onclick='delTempSubject(subjC".$subId.")'>X</span></div></div>";

to store in div innerHTML with js and i get this error

missing ) after argument list

any idea?

2
Contributors
1
Reply
49 Minutes
Discussion Span
8 Months Ago
Last Updated
2
Views
oded.taizi
Newbie Poster
1 post since Sep 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Can you paste what is outputted to the browser?

pritaeas
Posting Prodigy
Moderator
9,547 posts since Jul 2006
Reputation Points: 1,194
Solved Threads: 1,496
Skill Endorsements: 98

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page generated in 0.0543 seconds using 2.67MB