473,473 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

when i used javascript onchange() the error is coming object doesnt support this prop

1 New Member
when i used javascript onchange() the error is coming "object doesnt support this property" my code is-

Expand|Select|Wrap|Line Numbers
  1. <script type='text/javascript' language="javascript">
  2.  
  3. function change()
  4. document.uplcsv.submit();
  5. }
  6. </script>
Aug 22 '07 #1
3 1711
dmjpro
2,476 Top Contributor
when i used javascript onchange() the error is coming "object doesnt support this property" my code is-
<script type='text/javascript' language="javascript">

function change()
{
document.uplcsv.submit();
}
</script>

Welcome to TSDN.
And try to use Code Tag while Posting.
Please Read the guidelines before Posting.
It would be better if you post your HTML code also.
Then it would be easy to solve your problem.

Kind regards,
Dmjpro.
Aug 22 '07 #2
pbmods
5,821 Recognized Expert Expert
Heya, callre. Welcome to TSDN!

My guess is that document.uplcsv is not a valid reference to a form element.

Try giving the form an ID and using document.getElementById().
Aug 22 '07 #3
gaya3
184 New Member
when i used javascript onchange() the error is coming "object doesnt support this property" my code is-

Expand|Select|Wrap|Line Numbers
  1. <script type='text/javascript' language="javascript">
  2.  
  3. function change()
  4. document.uplcsv.submit();
  5. }
  6. </script>


Hi,


Check if there is any element in your form called "submit". If there is, change it's name to something else, like "submit1". The form submit code should work.

I have tried that.. its working fine...

-Thanks
Hamsa
Aug 27 '07 #4

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

Similar topics

3
by: Plamen Valtchev | last post by:
This is my problem: From JavaScript I want to find the list of all defined/loaded JavaScript functions/objects/names within the current scope (html page in a browser). the page could contain...
1
by: bin_P19 P | last post by:
the code i have got is as follows and now im stuck <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Shopping...
5
by: fred | last post by:
I don't know if I'm doing this correctly. I have a little programming experience in python, c++ and some others but this is my first time with javascript. I'm trying have my website detect the...
8
by: Galina | last post by:
Hello I have 6 dependent list boxes on my ASP page:  Faculty;  Lecturer;  Course;  Course occurrence;  Group;  Week commencing date. When faculty is selected, lists of lecturers and...
25
by: moondaddy | last post by:
I have an application where users need to upload images and in my web.config file I have a setting like this: <httpRuntime maxRequestLength="512" /> Which restricts image larger than 500k from...
7
by: Coder | last post by:
Hi I have the following code in java script, it is not giving proper output in FIREFOX but running fine in IE... can anybody help me out to make this run in FIREFOX . <script...
13
by: monomaniac21 | last post by:
hi i want to be able to trigger a javascript style popup alert in php (i want a message displayed on the actual page) is this possible?
1
by: Gilberto | last post by:
Hello I have a big BIG problem. Im new with acces and ive been creating a db for a month now. It was working perfectly and just after i did a db SPLIT some functions began displaying error 2465. I...
3
by: Hanoodah | last post by:
Good morning all, Please I need help in a form that I have designed to fill user information. This form needs two drop-down list about specific date, one about contract date, and the other about...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.