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

javascript not working on Windows Mobile 5.0

Hi,
I am using a PDA containing Windows Mobile 5.0 for my client application in JAVA (JSP & SERVLET).There i am using a dropdown menu on a page.There are 3 different values (A,B,C) in that drop box.My question is that....when i select/change any value from that dropdown menu,color of this row (the row containing dropdown menu)should be changed.There is different color for each value in that dropdown menu.(green for A,red for B,gray for C)
I am using following JAVASCRIPT code in my JSP page,that is working successfully on Desktop PC.
-------------------------------------------------------------------------------------------------------------------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<script language = "javascript">
function check(aa)
{
document.getElementById("glow").bgColor=document.g etElementById('abc').value;
}
</script>
</head>

<body>

<form method="POST" action="--WEBBOT-SELF--">
<p>&nbsp;</p>
<p>&nbsp;</p>
<table border="1" width="100%">
<tr id="glow">
<td width="324" >&nbsp;</td>
<td><select size="1" name="D1" onchange="check(this.value)" id="abc">
<option value="green">A</option>
<option value="red">B</option>
<option selected value="gray">-C</option>
</select></td>
</tr>
<tr>
<td width="324">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="324">&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</form>
</body>

</html>
-------------------------------------------------------------------------------------------------------------------
This code is working successfully on Desktop PC but it is not working on Windows Mobile 5.0.(Colors are changed on Desktop but not on my PDA (WM 5.0)).

Can anyone please guide me how can i achieve this?

Regards:
Rohit
Attached Images
File Type: jpg TEST.jpg (14.4 KB, 148 views)
Mar 25 '09 #1
0 3311

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

Similar topics

0
by: Nick White [MSFT] | last post by:
Hello fellow Microsoft Windows Mobile and Embedded enthusiasts: I invite you to peruse the list below of upcoming technical chats and Webcasts offered by the Windows Mobile and Embedded Devices...
1
by: tnhoe | last post by:
Hi,plz help me to translate following VBscript to Javascript :- Set objGsmOut = CreateObject( "ActiveXperts.GsmOut" ) objGsmOut.Device = "MultiTech GSM MultiModem" ...
14
by: Rich | last post by:
I am converting my enterprise solution from VS 2003 (.NET v1.1.4322) to VS 2005 (.NET v2.0.50727). The entire solution uses serveral technologies - Windows Server 2003 (AD, SQL Server 2000, IIS,...
16
by: Eric | last post by:
I have a user of a web application written in Java/JSP that is unable to login to the site simply because certain links on the page do not run when they are clicked. Other popups using Javascript...
2
by: aeroguy | last post by:
hi i have amotorokr e6 phone and its supports javascript. The phone itself works on a linux OS. I want to write a simple program in javascrpt that can do input output operation in the mobile.......
1
by: mwk24 | last post by:
Hi all, I have standard AJAX script that calls a php file to load the latest information and uses xmlHTTP.responseText to write it to innerHTML of a div by id. It works fine on IE/firefox, but I'm...
1
by: mwk24 | last post by:
Hi all, I have standard AJAX script that calls a php file to load the latest information and uses xmlHTTP.responseText to write it to innerHTML of a div by id. It works fine on IE/firefox, but I'm...
22
by: Dan Rumney | last post by:
Hi all, I've been writing Javascript for quite a while now and have, of late, been writing quite a lot of AJAX and AJAX-related code. In the main, my dynamically generated pages are created...
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:
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...

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.