473,378 Members | 1,580 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,378 software developers and data experts.

onclick and onchange not working in IE6

10
hi
I have write my code in javascript file.here onclick and change function are not working in IE but working in firefox..
plz give solution for this as soon as possible..
Thanks in advance..
here is my code in js file
.....
Expand|Select|Wrap|Line Numbers
  1. text += "<table width=100% align=left><tr>"
  2.  
  3. text += "<td align=left><a href=Month- onClick='monthMove(-1);this.blur();history.go(0);event.returnValue=false; return false;'><img src=images/Left.png border=0></a>&nbsp;"
  4.  
  5. text += "<select name=selMonth onChange='javascript:changeCal();history.go(0);'>"
  6. ......
  7. ......
  8.  
  9. text+="</table>"
  10. document.write(text);
....
May 17 '10 #1
2 2050
acoder
16,027 Expert Mod 8TB
Post the code for the functions called onclick and onchange.

What's "Month-" - the href for the link?

You should quote attributes in HTML code, e.g.
Expand|Select|Wrap|Line Numbers
  1. <select name="selMonth" ...>
May 17 '10 #2
ifedi
60
My question is:
What are you still doing writing for IE6?
May 17 '10 #3

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

Similar topics

2
by: Andy Goldstein | last post by:
I have a table where all the TRs have an onClick handler registered. One (and only one) of the rows has 2 text input boxes, where each textbox has an onChange handler registered. Both the onClick...
1
by: EMW | last post by:
Hi, I've got two problems: My datagrid is 35 columns wide and 26 rows tall. Columns 4 to 35 are filled with ImageButtons, created during runtime and each one with it's own name. During the...
2
by: Earl Teigrob | last post by:
I am trying to build a custom control to wrap my smart navigation implimention (not microsofts 'cause it has problems) The follow code works fine when the onclick and onload events are defined in...
6
by: Nx | last post by:
i've got it all working nicely in firefox, but whenever i test it in IE none of the onclick events are triggered. i'm using an xsl to transform an rss feed into a photogallery. when i try to...
8
by: tarunchandel | last post by:
Hi I am facing a problem with my code .... this is what I am doing ... I am having a link on the page which says "add tab" o clicking this link I add a new tab to the page, I write the code for...
0
by: sabian08 | last post by:
Please help a newb! Any suggestions are appreciated! My goal is to have all checkboxes=true up to today's month when the "Fiscal Year" checkbox is clicked. Right now, I'm having trouble with the...
10
by: NeoTubNinja | last post by:
I have a select statement with various numbers. Upon clicking on one of the options, you are sent to a page that puts the option value in a session and returns back to the previous page. When it...
31
by: ajos | last post by:
hi frnds, i have a form,which has 2 input text boxes, the values are entering the text boxes,when i leave the 2 text boxes blank and hit submit a java script gives the message that the 2 fields are...
4
by: Aaron Gray | last post by:
The following input checkbox onclick via DOM is not working on IE7, FF, or WebKit, but is working on Opera for some strange reason. http://www.aarongray.org/Test/JavaScript/checkbox.html ...
1
by: aaaash | last post by:
hi I have write my code in javascript file.here onclick and change function are not working in IE but working in firefox.. plz give solution for this as soon as possible.. Thanks in advance.....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...

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.