Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Old 01-24-2007, 07:58 AM help me plz.
Average Talker

Posts: 28
Name: dinesh s
Trades: 0
hi ,
is it possible to generate mouse click event in javascript.

thanks in advance for ur reply...
dinesh s is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-24-2007, 10:23 AM Re: help me plz.
Mattmaul1992's Avatar
Ultra Talker

Posts: 486
Name: Matt
Trades: -1
Is this what you mean?

HTML Code:
<a href="www.artihelp.com"
onclick="alert('An onClick event');return false">
Hello
</a>
Study up on your JavaScript, bud. http://www.w3schools.com/js
Mattmaul1992 is offline
Reply With Quote
View Public Profile
 
Old 01-24-2007, 12:30 PM Re: help me plz.
Skilled Talker

Posts: 96
Name: Tudor Barbu
Trades: 0
No, he wants to generate an event, not add a listener to it.

dinesh s: you can try document.createEventObject in IE, but I don't think there's a public standard that applies to this...
__________________

Please login or register to view this content. Registration is FREE
Tudor.b is offline
Reply With Quote
View Public Profile Visit Tudor.b's homepage!
 
Old 01-24-2007, 12:58 PM Re: help me plz.
email16's Avatar
Skilled Talker

Posts: 76
Trades: 0
which IE version would this be possible in ?
__________________
Selbourne.com -
Please login or register to view this content. Registration is FREE
|| Offering
Please login or register to view this content. Registration is FREE
services ||
Please login or register to view this content. Registration is FREE
||
Please login or register to view this content. Registration is FREE
email16 is offline
Reply With Quote
View Public Profile
 
Old 01-25-2007, 12:23 AM Re: help me plz.
Average Talker

Posts: 28
Name: dinesh s
Trades: 0
thank to all .i tried what u all said.
but nothing helps me.

ok, another ques - "is it possible to cancel mouse click(middle button) event.(lock that event)"

solution to any one of my questions may solve the problem in my page.
plz help .....

Last edited by dinesh s; 01-25-2007 at 12:37 AM..
dinesh s is offline
Reply With Quote
View Public Profile
 
Old 01-25-2007, 06:21 AM Re: help me plz.
saadatshah's Avatar
Extreme Talker

Posts: 215
Name: Syed Saadat Ali
Location: Lahore, Pakistan
Trades: 0
read this:
http://www.dustindiaz.com/custom-events/
__________________
- -- --- ---- ----- ------ ------- ---------------
If you have knowledge, let others light their candles in it.
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Old 01-26-2007, 09:49 AM Re: help me plz.
Novice Talker

Posts: 6
Trades: 0
<div onclick="alert('Mouse Event')">test</div>
symbianer is offline
Reply With Quote
View Public Profile
 
Old 01-27-2007, 02:04 AM Re: help me plz.
Average Talker

Posts: 28
Name: dinesh s
Trades: 0
hi symbianer.

thanks for ur reply...

i want to generate an event, not just listener.
dinesh s is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to help me plz.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30512 seconds with 12 queries