Search Results

Showing results 1 to 11 of 11
Search took 0.01 seconds.
Search: Posts Made By: Luckychap
Forum: JavaScript / DHTML / AJAX Jul 25th, 2009
Replies: 18
Views: 1,300
Posted By Luckychap
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
Posted By Luckychap
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
Posted By Luckychap
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
Posted By Luckychap
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
Posted By Luckychap
<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
Solved: Ajax Help
Views: 674
Posted By Luckychap
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
Posted By Luckychap
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
Posted By Luckychap
"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
Posted By Luckychap
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
Posted By Luckychap
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
Posted By Luckychap
if its taking too much time, here is your whole code:

Javascript function:


function CheckForCreditCard(el) {
if (el.options[2].selected == true)
{
var CreditCardInfo =...
Showing results 1 to 11 of 11

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC