Click here to Skip to main content
15,891,864 members
Home / Discussions / C#
   

C#

 
QuestionRegular Expression problem Pin
t4ure4n29-Jun-07 0:37
t4ure4n29-Jun-07 0:37 
AnswerRe: Regular Expression problem Pin
Urs Enzler29-Jun-07 0:45
Urs Enzler29-Jun-07 0:45 
AnswerRe: Regular Expression problem Pin
Mircea Puiu29-Jun-07 1:19
Mircea Puiu29-Jun-07 1:19 
Question.aspx.cs+javascript [modified] Pin
razanabanu29-Jun-07 0:35
razanabanu29-Jun-07 0:35 
AnswerRe: .aspx.cs+javascript Pin
Christian Graus29-Jun-07 0:38
protectorChristian Graus29-Jun-07 0:38 
AnswerRe: .aspx.cs+javascript Pin
blue_arc29-Jun-07 1:00
blue_arc29-Jun-07 1:00 
GeneralRe: .aspx.cs+javascript Pin
Christian Graus29-Jun-07 1:10
protectorChristian Graus29-Jun-07 1:10 
GeneralRe: .aspx.cs+javascript Pin
razanabanu29-Jun-07 1:24
razanabanu29-Jun-07 1:24 
I need to do 3 Steps..
1.In java Script file, I've to get the value of textbox which is placed on .aspx file..
2.I've pass this value to another .aspx file to check whether the value of text box exsist in database..
3.Finally I have to pass a variable from the second .aspx file to the first .aspx file...
I did the above to...
I dont know the third one...that is my problem...

txtajaxscript.js
=================
var http = getHTTPObject();
var url="txtajaxcheck.aspx?id=";
function handleHttpResponse() {
if (http.readyState == 4) {
results = http.responseText;
document.getElementById("lbltxt").innerHTML= results;
}
}


function txtdisplay()
{
var txtvalue=document.getElementById("Text1").value;
document.getElementById("lbltxt").innerHTML=txtvalue ;
var http = getHTTPObject();
http.open("GET", url + escape(txtvalue), true);
http.onreadystatechange = handleHttpResponse;
http.send(null);
var role = "<%=role%>";
document.getElementById("lbltxt").innerHTML=role ;

}
function getHTTPObject() {
if (typeof XMLHttpRequest != 'undefined') {
return new XMLHttpRequest();
}
try {
return new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
return new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {}
}
return false;
}

now I have to pass a variable from txtajaxcheck.aspx to txtajaxscript.js...and I have to get a variable here which is sent by txtajaxcheck.aspx ...

Help me please....



Hi,Im Razana

QuestionMerging Datasets Pin
oceanexplorer29-Jun-07 0:18
oceanexplorer29-Jun-07 0:18 
AnswerRe: Merging Datasets Pin
Urs Enzler29-Jun-07 0:28
Urs Enzler29-Jun-07 0:28 
GeneralRe: Merging Datasets Pin
oceanexplorer29-Jun-07 0:41
oceanexplorer29-Jun-07 0:41 
QuestionPause Form Pin
M. J. Jaya Chitra29-Jun-07 0:05
M. J. Jaya Chitra29-Jun-07 0:05 
AnswerRe: Pause Form Pin
Martin#29-Jun-07 0:14
Martin#29-Jun-07 0:14 
AnswerRe: Pause Form Pin
Urs Enzler29-Jun-07 0:29
Urs Enzler29-Jun-07 0:29 
AnswerRe: Pause Form Pin
Christian Graus29-Jun-07 0:39
protectorChristian Graus29-Jun-07 0:39 
AnswerRe: Pause Form Pin
Mircea Puiu29-Jun-07 1:40
Mircea Puiu29-Jun-07 1:40 
QuestionWeb Service functions parameters Pin
Zahid Rsons29-Jun-07 0:01
Zahid Rsons29-Jun-07 0:01 
AnswerRe: Web Service functions parameters Pin
blue_arc29-Jun-07 1:03
blue_arc29-Jun-07 1:03 
GeneralRe: Web Service functions parameters Pin
Zahid Rsons29-Jun-07 23:56
Zahid Rsons29-Jun-07 23:56 
Questionmultiple inheritance workaround? Pin
donovan.solms28-Jun-07 22:48
donovan.solms28-Jun-07 22:48 
AnswerRe: multiple inheritance workaround? Pin
Manas Bhardwaj28-Jun-07 22:54
professionalManas Bhardwaj28-Jun-07 22:54 
AnswerRe: multiple inheritance workaround? Pin
Vasudevan Deepak Kumar28-Jun-07 22:54
Vasudevan Deepak Kumar28-Jun-07 22:54 
AnswerRe: multiple inheritance workaround? Pin
Kevin McFarlane29-Jun-07 0:32
Kevin McFarlane29-Jun-07 0:32 
GeneralRe: multiple inheritance workaround? Pin
donovan.solms28-Jun-07 23:45
donovan.solms28-Jun-07 23:45 
AnswerRe: multiple inheritance workaround? Pin
Mircea Puiu29-Jun-07 1:48
Mircea Puiu29-Jun-07 1:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.