473,386 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

onscroll is not working with select element ?

101 100+
Hi,

I have a following calendar widget. What is want is when i click on Month combo & use mouse scroll wheel it change the month in combo as well as also change the dates...related to that month.

When I am changing the onchange event to onscroll event it stop calling the "selectChange" function....

Please help...




tmpStr += '<select class="month" id="calmonth" name="month" onchange="g_Calendar.selectChange(this);" onmouseout="event.cancelBubble=\'true\';" >';

Expand|Select|Wrap|Line Numbers
  1. Calendar.prototype.selectChange = function(month){
  2. this.month = month.selectedIndex;
  3. this.writeString(this.buildString());
  4. }

- Bunty -
Jun 1 '07 #1
2 1986
dmjpro
2,476 2GB
Hi,

I have a following calendar widget. What is want is when i click on Month combo & use mouse scroll wheel it change the month in combo as well as also change the dates...related to that month.

When I am changing the onchange event to onscroll event it stop calling the "selectChange" function....

Please help...




tmpStr += '<select class="month" id="calmonth" name="month" onchange="g_Calendar.selectChange(this);" onmouseout="event.cancelBubble=\'true\';" >';

Expand|Select|Wrap|Line Numbers
  1. Calendar.prototype.selectChange = function(month){
  2. this.month = month.selectedIndex;
  3. this.writeString(this.buildString());
  4. }

- Bunty -

I think it ll not be working.
Because the onscroll is supported by onChange event.

kind regards,
dmjpro.
Jun 2 '07 #2
buntyindia
101 100+
what will i do to make it work?
Jun 2 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: viza | last post by:
Hi! I use the onscroll event to make something like the CSS position:fixed; for MSIE. In MSIE/5.5, before a function is assigned to the event handler, it has the value null. In Opera, it is...
1
by: Mark Szlazak | last post by:
Is there a way to detect if an textarea onscroll event is working in Firefox (or Mozilla). I know that there is an onscroll event bubbling bug with current vesions of these browsers so I want to...
2
by: lorinho | last post by:
Alright, I'm stumped. Per this article from Microsoft I should be able to capture the onscroll event for an iframe but for some reason it doesn't seem to be working for me... ...
5
by: Simon Wigzell | last post by:
Looks like firefox doesn't support onscroll. Any workaround?
1
by: Simon Wigzell | last post by:
Firefox has strange behaviour with onscroll. I have a sample page here: http://www.dynamicwebsitesystems.com/ScrollTest.htm If I make this the startup page for the firefox browser or launch it...
0
by: gregtyndall | last post by:
I have a weird problem. I'm using a master page to hold a menu that I want to scroll as the user scrolls in the browser window so it will always be visible. First off, putting onsroll in the body...
0
by: Jocker | last post by:
Hi Group I'm writing an Internet Explorer plugin. Everything works well, except when I try to handle the onscroll event....
0
by: Jocker | last post by:
I'll try reposting this message with the hope someone can help me with this issue. PS: is this the right newsgroup for this question? --- Hi Group I'm writing an Internet Explorer plugin....
0
by: bluegrasslover | last post by:
I've gotten a couple of emails about this problem lately so I'm going to post the solution that someone emailed me a while back. When you create a master page visual studio automatically adds a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.