The Arcive of vBulletin Modifications Site. |
|
javascript probs. Details »»
|
|||||||||||||||||||||||||
I've put this in the newthread template:
<!---Testing---> if (theform.message.value) { "REQ: " + theform.message.value } [else { "GOT: " + theform.message.value }] It'll end up as radio buttons but i just want to know how to add a prefix onto the beginning. ![]() I am no good at javascript, whats wrong, where do i put, how do i fix? ![]() Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
any help guys.
|
|
#3
|
||||
|
||||
|
By prefix I'm assuming you mean...
Code:
<script language="javascript" type="text/javascript"> <!-- Code:
// --> </script> Code:
<script language="javascript" type="text/javascript">
<!--
if (theform.message.value) {
"REQ: " + theform.message.value
} [else {
"GOT: " + theform.message.value
}]
// -->
</script>
|
|
#4
|
|||
|
|||
|
LMFAO! cant beleive.... /me hangs head on desk. lol.
Cheers |
|
#5
|
||||
|
||||
|
No problem.
|
![]() |
|
|