![]() |
Template Parser Acting Stupid...
I posted this on vb.com but realized I should probably be asking here.
Anyone know why I would be getting this error: Code:
Parse error: syntax error, unexpected '[' in /home/XXXXXXXXXXXX/includes/adminfunctions_template.php(4597) : eval()'d code on line 72 Code:
function removeElement (e) { Code:
var li = e.parentNode; Thanks for your help! |
I already answered on your thread at vb.com. You should put <vb:literal> tags around javascript until they fix the issue regarding the { and var in the script.
|
Yup, got it Lynne. Works good, thank you as always!
|
I found escaping them works too..
Code:
function removeElement (e) \{ |
Quote:
I feel safer with lynne's solution F. |
All times are GMT. The time now is 05:03 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|