Search Results

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: Luckychap ; Forum: JavaScript / DHTML / AJAX and child forums
Forum: JavaScript / DHTML / AJAX Jul 25th, 2009
Replies: 18
Views: 1,301
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,301
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,447
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,363
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: JavaScript / DHTML / AJAX Jun 19th, 2008
Replies: 20
Views: 5,384
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: JavaScript / DHTML / AJAX May 26th, 2008
Replies: 14
Views: 18,389
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 9 of 9

 


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

©2003 - 2009 DaniWeb® LLC