Search Results

Showing results 1 to 22 of 22
Search took 0.02 seconds.
Search: Posts Made By: Dukane ; Forum: JavaScript / DHTML / AJAX and child forums
Forum: JavaScript / DHTML / AJAX Aug 28th, 2009
Replies: 2
Views: 505
Posted By Dukane
I am no expert, by try this: http://blog.coderlab.us/2005/09/22/using-the-innertext-property-with-firefox/
Forum: JavaScript / DHTML / AJAX Aug 28th, 2009
Replies: 2
Solved: TextArea's
Views: 366
Posted By Dukane
The spaces are caused by the closing tag being on a seperate line. Change your code to <textarea name="myTextArea" rows="4" cols="20"></textarea>.
Forum: JavaScript / DHTML / AJAX Aug 21st, 2009
Replies: 7
Views: 651
Posted By Dukane
This is true, but that still doesn't make it possible to access a MySQL database with JavaScript...

Of course, you can do data validation on a form with JavaScript, but the actual processing to...
Forum: JavaScript / DHTML / AJAX Aug 21st, 2009
Replies: 7
Views: 651
Posted By Dukane
1. Look into proper HTML coding and standards compliance, they will clue you into why we have added those tags to your code.

2. I don't know of an editor or an IDE. If I code JavaScript, I like to...
Forum: JavaScript / DHTML / AJAX Aug 13th, 2009
Replies: 7
Views: 651
Posted By Dukane
Try this:


<html>
<head>
<title>hello </title>
</head>
<body>
<h1 align="center">Using Arrays</h1>
Forum: JavaScript / DHTML / AJAX Apr 25th, 2009
Replies: 6
Views: 554
Posted By Dukane
You've posted this in the wrong forum! Try this one instead: http://www.daniweb.com/forums/forum117.html
Forum: JavaScript / DHTML / AJAX Jan 6th, 2008
Replies: 4
Views: 1,289
Posted By Dukane
I think JavaScript is a client side only language.
Forum: JavaScript / DHTML / AJAX Jun 7th, 2007
Replies: 7
Views: 2,115
Posted By Dukane
Whoops! I'm sorry I misread your problem. But the solution (to what I think you want to do) isn't too far off.

As you are reading through the list of Top 10, divide the rating by 2. If the result...
Forum: JavaScript / DHTML / AJAX May 30th, 2007
Replies: 7
Views: 2,115
Posted By Dukane
As you are iterating through the table, count rows. If the row number is odd, make it blue. If not, make it grey.
Forum: JavaScript / DHTML / AJAX May 25th, 2007
Replies: 2
Views: 5,108
Posted By Dukane
Works fine for me in Firefox
Forum: JavaScript / DHTML / AJAX Apr 28th, 2007
Replies: 3
Views: 1,175
Posted By Dukane
In today's world of high-speed Internet connections, I don't think this would be a problem. I say go for it and see if the performance really changes considerably.
Forum: JavaScript / DHTML / AJAX Apr 27th, 2007
Replies: 1
Views: 1,504
Posted By Dukane
I don't think it's possible for a JavaScript to act on an applet. You may need to include that functionality in the applet itself.
Forum: JavaScript / DHTML / AJAX Mar 20th, 2007
Replies: 3
Views: 2,085
Posted By Dukane
What is the problem? And PMing doesn't support the idea of community-based support.

Anyway, there is a way to put scroll-bars around a grouping of text. Look up a CSS reference on this. It can be...
Forum: JavaScript / DHTML / AJAX Jan 10th, 2007
Replies: 13
Views: 6,870
Posted By Dukane
NO there is no way to do that. If there was, then every site would do it so their popups dont get blocked!
Forum: JavaScript / DHTML / AJAX Dec 16th, 2006
Replies: 13
Views: 13,936
Posted By Dukane
Glad I could be of help...you were so close which is why I waited to the end to give a possible solution because you were on the right track the whole time and you'll learn it better if you figure it...
Forum: JavaScript / DHTML / AJAX Dec 16th, 2006
Replies: 13
Views: 13,936
Posted By Dukane
Now here your problem is that as soon as one of those conditions is met, you return something. When you return something, your function is over and it does not continue.

So, here is code that does...
Forum: JavaScript / DHTML / AJAX Dec 15th, 2006
Replies: 13
Views: 13,936
Posted By Dukane
All of the options in the select element need to be placed into an array. Your code here doesn't do that. Instead, you're looking to see each time through the loop if the select box equals what was...
Forum: JavaScript / DHTML / AJAX Dec 15th, 2006
Replies: 13
Views: 13,936
Posted By Dukane
Your iteration is not correct.

Look at your if statement. if (i == newCatDrop).
But what is i? i is an integer variable that is counting the number of times you go through the loop, not the...
Forum: JavaScript / DHTML / AJAX Dec 14th, 2006
Replies: 13
Views: 13,936
Posted By Dukane
Yes, you could use a for loop to iterate through each item in the array of items in the list box. Each time, look to see if that particular item equals the contents of the textbox. If it does, stop...
Forum: JavaScript / DHTML / AJAX Dec 14th, 2006
Replies: 13
Views: 13,936
Posted By Dukane
Sure, when someone enters, call a function which iterates through each item in the list. If the entry in the textbox matches one of the items in the list, the throw up the error message. If not,...
Forum: JavaScript / DHTML / AJAX Dec 4th, 2006
Replies: 4
Views: 13,301
Posted By Dukane
I took a look at your code, and made a few adjustments. Do you see why this works vs. your code?

<script type="text/javascript" lang="javascript">
var i;
var minutes = 0;
var monthly;
var...
Forum: JavaScript / DHTML / AJAX Dec 4th, 2006
Replies: 4
Views: 13,301
Posted By Dukane
Problem #1 if (minutes = 1) should be if (minutes ==1). You want to check the value of minutes using the == operator. I'm not sure what the = will do in JavaScript, but it is probably checking to see...
Showing results 1 to 22 of 22

 


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

©2003 - 2009 DaniWeb® LLC