Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 28 Aug 2009, 20:36
al3bed's Avatar
al3bed al3bed is offline
 
Join Date: Sep 2006
Location: Bahrain
using javascript event in options

hello,

i have a questions:
1. is it possible to use javascript events (onclick, onselect, onchange ..etc) with php?
2. is it possible to use javascript events in ACP options?

great thanks to people read, answer or wondering
__________________
- everyone has an end, it may be pleasant or sorrowful
- there is enough light for one who wants to see
Reply With Quote
  #2  
Old 29 Aug 2009, 11:44
RLShare RLShare is offline
 
Join Date: Jun 2008
It would be easier to help if you stated more about what you are trying to do, but....

PHP is a server side language, meaning it is executed on the server itself. It is only executed when a request is sent by the browser to the server.

Javascript is a client side script that is executed on the users machine which is why you can respond to events within the browser.

The only way to do anything close to what you are asking is to use AJAX(javascript) to communicate with the server(execute your php scripts) based on user events.
__________________
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Miscellaneous Hacks Advanced Last X Thread in Marquee,JavaScript with External Options 2.2 Almotmaiz.Net vBulletin 3.6 Add-ons 218 13 Apr 2016 21:55



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 02:46.

Layout Options | Width: Wide Color: