Click here to Skip to main content
15,890,512 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: Getting started with Javascript Pin
Praveen Raghuvanshi5-Apr-15 6:39
professionalPraveen Raghuvanshi5-Apr-15 6:39 
QuestionWhat is the function of Extracting String Characters in JavaScript Pin
Member 1144603412-Feb-15 6:01
Member 1144603412-Feb-15 6:01 
AnswerRe: What is the function of Extracting String Characters in JavaScript Pin
Richard Deeming12-Feb-15 6:23
mveRichard Deeming12-Feb-15 6:23 
GeneralRe: What is the function of Extracting String Characters in JavaScript Pin
Santosh K. Tripathi31-Mar-15 2:04
professionalSantosh K. Tripathi31-Mar-15 2:04 
QuestionI want to write it in aspx or ascx file Pin
indian14310-Feb-15 12:50
indian14310-Feb-15 12:50 
Generalusing ajax Pin
Member 113542638-Feb-15 18:58
Member 113542638-Feb-15 18:58 
SuggestionRe: using ajax Pin
ZurdoDev9-Feb-15 8:47
professionalZurdoDev9-Feb-15 8:47 
GeneralRe: using ajax Pin
Member 113542639-Feb-15 13:30
Member 113542639-Feb-15 13:30 
My JS editor indicates that one of the scripts below (commented) is invalid. My major issue is OnCalc values not available to PHP.

JavaScript
<pre lang="PHP"><pre lang="PHP">




action="xxxxinsert.php" method="post">








print


// ************error indicated in below script********


var js_var = "
whatever";
document.getElementById("link").onclick = OnCalc ();
{
// ajax start
var xhr;
if (window.XMLHttpRequest) xhr = new XMLHttpRequest();
else xhr = new ActiveXObject("Microsoft.XMLHTTP"); // for IE
var url = 'xxxinsert.php?js_var=' + js_var;
xhr.open('GET', url, false);
xhr.onreadystatechange = function ()
{
if (xhr.readyState===4 && xhr.status===200)
{
var div = document.getElementById("update");
div.innerHTML=xhr.responseText;
}
};
xhr.send();
// ajax stop
return false;
}



----------------------------------

";
echo "data entered

";
}
else
{ echo "Error: " . $sql . "
" . mysqli_error($conn); }
mysqli_close($conn);

header( "refresh:3;url='xxxxxxx'");
echo "
";
echo 'I\m old and slow

in a rush, click
here.'
?>

QuestionWhat is an AXD file Pin
indian1433-Feb-15 14:58
indian1433-Feb-15 14:58 
AnswerRe: What is an AXD file Pin
Richard Deeming4-Feb-15 2:17
mveRichard Deeming4-Feb-15 2:17 
GeneralRe: What is an AXD file Pin
indian1434-Feb-15 6:20
indian1434-Feb-15 6:20 
GeneralRe: What is an AXD file Pin
Richard Deeming4-Feb-15 6:39
mveRichard Deeming4-Feb-15 6:39 
GeneralRe: What is an AXD file Pin
indian1434-Feb-15 6:52
indian1434-Feb-15 6:52 
QuestionHow to make ondrop event being invoked by mouseover? Pin
Member 113783023-Feb-15 6:12
Member 113783023-Feb-15 6:12 
QuestionCalling an ASMX Web Service through JQuery .Ajax Pin
dbrenth2-Feb-15 10:44
dbrenth2-Feb-15 10:44 
QuestionRe: Calling an ASMX Web Service through JQuery .Ajax Pin
ZurdoDev2-Feb-15 11:00
professionalZurdoDev2-Feb-15 11:00 
AnswerRe: Calling an ASMX Web Service through JQuery .Ajax Pin
dbrenth3-Feb-15 2:28
dbrenth3-Feb-15 2:28 
QuestionRe: Calling an ASMX Web Service through JQuery .Ajax Pin
ZurdoDev3-Feb-15 2:30
professionalZurdoDev3-Feb-15 2:30 
AnswerRe: Calling an ASMX Web Service through JQuery .Ajax Pin
dbrenth3-Feb-15 2:57
dbrenth3-Feb-15 2:57 
GeneralRe: Calling an ASMX Web Service through JQuery .Ajax Pin
ZurdoDev3-Feb-15 3:02
professionalZurdoDev3-Feb-15 3:02 
GeneralRe: Calling an ASMX Web Service through JQuery .Ajax Pin
dbrenth3-Feb-15 5:14
dbrenth3-Feb-15 5:14 
GeneralRe: Calling an ASMX Web Service through JQuery .Ajax Pin
ZurdoDev3-Feb-15 5:34
professionalZurdoDev3-Feb-15 5:34 
AnswerRe: Calling an ASMX Web Service through JQuery .Ajax Pin
Richard Deeming4-Feb-15 2:12
mveRichard Deeming4-Feb-15 2:12 
QuestionAsp.net cross-page postback Pin
BobbyStrain31-Jan-15 6:04
BobbyStrain31-Jan-15 6:04 
QuestionAdding client validations on run time using jQuery Pin
indian14330-Jan-15 7:52
indian14330-Jan-15 7:52 

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.