/    Sign up×
Community /Pin to ProfileBookmark

Could you just have a quick peek to check this is right please!

Could someone tell me is this is right please. I need to call a finction from a button click so I put this in the head section

[CODE]<script type=”text/javascript”>function tablebook()
{LBDirect_Popup
(‘UK_108308:15171′,’en-GB,0,666666,444444,df,000000,1,,FFFFFF’,’104569′);
}
</script>[/CODE]

and then added this

[CODE]<input name=’tbk’ type=’button’ value=’Click Here’ onclick=’tablebook();’/>[/CODE]

Now it works, but I just want to check to see if it’s right or not.

Thanks

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@JMRKERSep 03.2008 — If it works how you want with no errors, then by definition it's right. ?

My question is this: What is is supposed to do?
Copy linkTweet thisAlerts:
@MocrodotauthorSep 03.2008 — It opens a pop-up window for use with a Restaurant table booking system.

Thanks for your help.

Kind regards
×

Success!

Help @Mocrodot spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...