ur url is aint woriking.
the below code can be used to create dynamic listbox options..
this code ll be useful if i have understood ur question properly.......
[CODE=javascript]xmlHttp.onready statechange=fun ction()
{
if(xmlHttp.read yState==4){
status_name = xmlHttp.respons eText;...
User Profile
Collapse
Profile Sidebar
Collapse
aswath
Last Activity: Aug 22 '08, 09:36 AM
Joined: Mar 22 '08
Location:
-
-
hi dasrasmikant,
div elements??? do u want to create <option> tags dynamically?SO that u can have u resultant data in another combo box... if yes i can send u the code for that....
regards..........Leave a comment:
-
hi r035198x,
correct me if am worng... ajax uses javascript... thats y i told we can use ajax.
regards...Leave a comment:
-
-
she is my college Colleague.. check her mail id if needed frnd.. i posed from her account...
i cannot get u wen u say<E>.. is that some generic terms r wat.. can u plz help me with that.....
regards...Leave a comment:
-
[HTML]<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="javas cript" src="file_name. js">
</script>
</head>
<body>
<form name="form">
<select name="select" onchange="call( );">
...Leave a comment:
-
i think u can use ajax.. doing so u can connect to ms access(or anyother db)..
may i know why u want to connect to database using javascript. any specific reason....
regards...Leave a comment:
-
r u finding problem in sending a request itself or u can get the response however facing problem in creating dynamic list box options........
regards...Leave a comment:
-
if the user choose others, he must be shown a textbox where he can enter his choice.. is that what u r asking dude.....
regards...Leave a comment:
-
hi,
i know what a subquery is... however i have never come across a word called correlated subquery.. can u plz tell me what is that.
thanks in advance........Leave a comment:
-
hi sinner,
i been using netbeans for the spring framework.. can u tell me the name of the jar files u r using..... may be u r missing something.....
regards,
aswath ns...Leave a comment:
-
delete replicating values from an array[]....
hi dere,
i have a question.
i have an array with replicating values.... al i want to do is
delete all replicating values and store the result in another array.
eg.,
String[] a={1,2,3,3};
String []b;
b should be 1.2.3only...... ..not 1,2,3,3
thanks in advance,
regards,
aswath.n.s
(knowledge is power) -
how to use trim() in javascript
i used the bolow example.. none of it is worinking for trimming white spaces
[CODE=javascript] var a = String.trim(" Visit W3Schools ");
alert(a)
var sMyVar = new String (" testing trim ");
alert(sMyVar.tr im());
...Leave a comment:
-
ajax code for combo box(list box)
hi dere,
i'm new to ajax.. i did a small example using it successfully.. but the problem i'm facing is, how to display the data in a combo box.. if i know the no.of values that is coming from db i can do it, however i don know the no.of records in db..
to be more simple, if i select a country, corr.states of that country should come..
below is the code i used to dispaly if i kno the no.of records in the db... -
how to use trim() in javascript
i used the below code for trimming..
[CODE=javascript] var str = " blah blah ";
var trimmed = str.replace(/^\s+|\s+$/g, '') ;
alert(trimmed);
alert(trimmed.v alue.length);[/CODE]
its aint working.. i think small error..
can any1 retify..
thanks in advance.. -
thanks a lot pal.. its working..
regards,
aswath.n.s
(knowledge is power)Leave a comment:
-
hi frnds..
thanks for ur attempts.
i tried init the form on load of the form.. aint working....
below is the code that i used..
[HTML] <script language="javas cript">
function call(){
if(document.g.m odi_id.checked= =true){
// alert(document. g.category1.val ue);
document.getEle mentById('modif y_txt').style.d isplay=...Leave a comment:
-
how to uncheck a radiobutton
hi all..
i have a small doubt.. i have two radiobutton on my page.. both unchecked initally.. on clicking either of the radiobutton few apporiate html contols ll appear.. after submitting the form and clicking the back button of my browser one radiobutton is in the clicked mode but its respective contoles are not appearing..
can anyone guide me with an answer.. thanks in advance..
i used //document.g.gg.c hecked...
No activity results to display
Show More
Leave a comment: