Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-20-2007, 04:22 PM
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
Location: Black Lagoon
Posts: 1,090
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Javascript - onclick()

Hello,
I'm having a problem passing the static value of '1' within my function foo below...

PHP Code:
onclick="foo($post[postid], <if condition="$vboptions[my_option]">true<else />false</if>, 1); return false;" 
the boolean value passes just fine, however the 1 gets lost every time... I've tried enclosing it within '1' with no loch, i know this has to be simple, but my brain is starting to hurt. Thanks

##### SOLVED
(doh... stoopid me - it was somethign else)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:06 AM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.