Forum: JavaScript / DHTML / AJAX Jul 25th, 2009 |
| Replies: 18 Views: 1,300 This can be done in many ways, but I will tell you easiest way:
Your function error_appname(inputField, erSpan), requires 2 argument, so maintain global arrays for those.
// Global arrays... |
Forum: JavaScript / DHTML / AJAX Jul 22nd, 2009 |
| Replies: 18 Views: 1,300 You assigned:
var dt=document.getElementById("application_doj" + iteration).value
dt has already got value. So pass only dt in isDate(dt).
function ValidateForm()
{
alert("hi... |
Forum: JavaScript / DHTML / AJAX May 26th, 2009 |
| Replies: 12 Views: 1,443 Well Airshow,
I wrote these function on STB browsers, which do not support prototyping of predefined objects like Date.
But your effort is really appreciated. |
Forum: JavaScript / DHTML / AJAX May 24th, 2009 |
| Replies: 5 Views: 1,406 getElementById() only works with document. To parse your HTML can use childNodes;
Modifying your code all little bit:
function parseHTML(html) {
var root = document.createElement("div");... |
Forum: JavaScript / DHTML / AJAX Feb 22nd, 2009 |
| Replies: 7 Views: 1,362 <html>
<head>
<title>test</title>
<script type="text/javascript">
function applyStyle() {
var bgText = document.getElementById('bg').value;
var hoverText =... |
Forum: JavaScript / DHTML / AJAX Nov 29th, 2008 |
| Replies: 3 Views: 674 Simply you have to parse the server response manually.
For example you get this a client side:
responseText = "field1||fiel2||field||......";
Then using javascipt string-functions to... |
Forum: C Jun 23rd, 2008 |
| Replies: 8 Views: 760 hey manavsm,
In deletion u have compared the rollno(which is string) with '==' operator, which is wrong. In C string are not compared with '==' operator but there is function defined in string.h... |
Forum: JavaScript / DHTML / AJAX Jun 19th, 2008 |
| Replies: 20 Views: 5,381 "While you learn basics of Java web development you are not doing complex stuff"
And what is that complex stuff. can u please explain me. |
Forum: C Jun 12th, 2008 |
| Replies: 4 Views: 562 Hey Wait!!
U want to find out how many of them are positive, how many are negative, how many are even and how many odd. But your code will give wrong result. For example u entered 5 as one of the... |
Forum: JavaScript / DHTML / AJAX May 26th, 2008 |
| Replies: 14 Views: 18,359 var divEls = document.getElementsByTagName("div");
var i = 0;
for(i=0;i<divEls.length;i++)
alert(divEls[i].id); |
Forum: JavaScript / DHTML / AJAX May 16th, 2008 |
| Replies: 8 Views: 1,832 if its taking too much time, here is your whole code:
Javascript function:
function CheckForCreditCard(el) {
if (el.options[2].selected == true)
{
var CreditCardInfo =... |