![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jun 2002
Location: france
Posts: 996
|
How do i write this JavaScript?
i need to rewrite below JS code without "{" and "}"
PHP Code:
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Chafed.
Join Date: May 2002
Location: Face Down in Pussy
Posts: 18,041
|
Try this:
var aaa = unescape('%7B') + 'image:"xxx",width:"400",height:"300" ' + unescape('%7D') ; |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Join Date: Jun 2002
Location: france
Posts: 996
|
Quote:
i receive this error: Expected ";" |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Chafed.
Join Date: May 2002
Location: Face Down in Pussy
Posts: 18,041
|
Well, if it requires a ; inside the string it would look like this:
var aaa = unescape('%7B') + 'image:"xxx",width:"400",height:"300" ' + unescape('%7D') + ';' ; |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Chafed.
Join Date: May 2002
Location: Face Down in Pussy
Posts: 18,041
|
This is a good example of why coders don't usually help people in threads when they ask for it.
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |