Search Results

Showing results 1 to 36 of 36
Search took 0.01 seconds.
Search: Posts Made By: buddylee17 ; Forum: JavaScript / DHTML / AJAX and child forums
Forum: JavaScript / DHTML / AJAX Jun 23rd, 2009
Replies: 2
Solved: Ajax or what?
Views: 333
Posted By buddylee17
You could also do this with frames
Forum: JavaScript / DHTML / AJAX Jan 27th, 2009
Replies: 5
Views: 4,147
Posted By buddylee17
Just a side note, you may be better off loading all of the dropdowns directly into javascript from php when the page loads. If the page contains multiple AJAX requests that go one after the other,...
Forum: JavaScript / DHTML / AJAX Jan 22nd, 2009
Replies: 1
Views: 963
Posted By buddylee17
This is a common problem, as text is so small. There is very little area to define where the mousover stops and the mouseout starts. So the display constantly toggles as the mouse wont sit perfectly...
Forum: JavaScript / DHTML / AJAX Jan 21st, 2009
Replies: 3
Views: 1,262
Posted By buddylee17
Forum: JavaScript / DHTML / AJAX Jan 21st, 2009
Replies: 1
Views: 750
Posted By buddylee17
You could include it as a client or server side include. Are you wanting to call it before, during, or after the page is loaded?
Forum: JavaScript / DHTML / AJAX Dec 30th, 2008
Replies: 4
Views: 2,122
Posted By buddylee17
Sure, what I was mainly trying to say was that AJAX should only be used to enhance the users experience.

A page submit or refresh can sometimes be inconvenient and time consuming. With AJAX, the...
Forum: JavaScript / DHTML / AJAX Dec 29th, 2008
Replies: 4
Views: 2,122
Posted By buddylee17
Why do you need AJAX for this?

AJAX is typically used to perform functions without a page load. If the page is going to load anyway, it would be much simpler just to use a server side script.
I...
Forum: JavaScript / DHTML / AJAX Dec 20th, 2008
Replies: 2
Views: 1,779
Posted By buddylee17
Here you go:

<script type="text/javascript">
function validator(){
var valid = true;
if (document.form1.textMessage.value=='')
{...
Forum: JavaScript / DHTML / AJAX Aug 29th, 2008
Replies: 4
Views: 1,201
Posted By buddylee17
Post a short description of your problem and the code that is failing in the JavaScript (http://www.daniweb.com/forums/forum117.html) Forum.
Forum: JavaScript / DHTML / AJAX Aug 21st, 2008
Replies: 5
Views: 3,059
Posted By buddylee17
Yes, you have to point the browser to where the file is located on the server. If you're SpryAssets folder is in the same directory as the file then you can use:

<script...
Forum: JavaScript / DHTML / AJAX Aug 21st, 2008
Replies: 5
Views: 3,059
Posted By buddylee17
You are referencing your PC's C drive for the javascript and css sources:

<script src="file:///C|/Documents and Settings/Armand/My Documents/Kami's Webpage/SpryAssets/SpryMenuBar.js"...
Forum: JavaScript / DHTML / AJAX Aug 15th, 2008
Replies: 14
Views: 2,772
Posted By buddylee17
Weird. I thought declaring variables in JavaScript was more of a "good practice" than a requirement. I always do it but wouldn't think that it would break the script.
Forum: JavaScript / DHTML / AJAX Aug 13th, 2008
Replies: 14
Views: 2,772
Posted By buddylee17
I believe xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
is outdated. See how W3Schools (http://www.w3schools.com/Ajax/ajax_browsers.asp) suggests implementing for IE. Also, read more about the...
Forum: JavaScript / DHTML / AJAX Aug 2nd, 2008
Replies: 1
Views: 2,011
Posted By buddylee17
Use an onchange event in the select element. The event should trigger a function which makes an AJAX request to the server side script performing the query. If the request returns an output, it will...
Forum: JavaScript / DHTML / AJAX Jul 31st, 2008
Replies: 6
Views: 2,143
Posted By buddylee17
Narrow down the problem and post the code. Most of us aren't going to download your code.
Forum: JavaScript / DHTML / AJAX Jul 29th, 2008
Replies: 1
Views: 414
Posted By buddylee17
Yes, for instance if you use GET method. Any server side script that can use the GET method to retrieve variables from the url can also process them. Same with post. Any script that can retrieve...
Forum: JavaScript / DHTML / AJAX Jul 29th, 2008
Replies: 2
Views: 1,839
Posted By buddylee17
Would have to see the form validation code to say.
Forum: JavaScript / DHTML / AJAX Jul 27th, 2008
Replies: 6
Views: 2,143
Posted By buddylee17
The script above performs a query but doesn't output anything. You will need an output from the script to populate the suggestions. What does the demo script look like?
Forum: JavaScript / DHTML / AJAX Jul 27th, 2008
Replies: 3
Views: 2,228
Posted By buddylee17
Yes, where are you going to store the users input? (database, text file...)
Forum: JavaScript / DHTML / AJAX Jul 21st, 2008
Replies: 3
Views: 2,228
Posted By buddylee17
Check out the Dynamic Drive Cross Browser marquee (http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm). I have used it before in conjunction with php and mysql. Basically, you create a form...
Forum: JavaScript / DHTML / AJAX Jul 18th, 2008
Replies: 2
Views: 1,484
Posted By buddylee17
You can control cache in php with headers. Here's (http://www.badpenguin.org/docs/php-cache.html) a good read.
Forum: JavaScript / DHTML / AJAX Jul 14th, 2008
Replies: 1
Views: 885
Posted By buddylee17
Do you mean something like this?
http://www.felgall.com/jstip22.htm
Forum: JavaScript / DHTML / AJAX Jul 14th, 2008
Replies: 2
Views: 1,382
Posted By buddylee17
What about just doing something like:
<a href="delete.asp" onclick="return confirm('Are you sure you wish to continue?')">Delete</a>

Or, if you need a function for several links:
<script...
Forum: JavaScript / DHTML / AJAX Jul 13th, 2008
Replies: 1
Views: 655
Posted By buddylee17
Welcome to DaniWeb! This forum is specifically for JavaScript, Dynamic HTML, and AJAX. Does your problem fit into this category? If not, post your problem in the HTML...
Forum: JavaScript / DHTML / AJAX Jul 11th, 2008
Replies: 1
Views: 1,850
Posted By buddylee17
I would start off at google. Search for AJAX Examples. Here (http://www.degraeve.com/reference/simple-ajax-example.php) is a good simple example that doesn't involve a ton of code. In the example, a...
Forum: JavaScript / DHTML / AJAX Jul 11th, 2008
Replies: 5
Views: 889
Posted By buddylee17
No, with AJAX, JDOMP, or Flash, the url is never seen. The request is sent "behind the scenes". The user doesn't see any change in the url throughout the data exchange. Here...
Forum: JavaScript / DHTML / AJAX Jul 11th, 2008
Replies: 5
Views: 889
Posted By buddylee17
If it's in the query string (myscript.php?myvar=value), you use get:
$var=$_GET['myvar'];
You can put as many variables as needed into the query...
Forum: JavaScript / DHTML / AJAX Jul 10th, 2008
Replies: 5
Views: 889
Posted By buddylee17
You could do this a number of ways. The easiest, in my opinion would be Flash (http://www.adobepress.com/articles/article.asp?p=464427&seqNum=1).
However, if Flash isn't an option, JDOMP...
Forum: JavaScript / DHTML / AJAX Jul 10th, 2008
Replies: 1
Views: 932
Posted By buddylee17
Tack the course name onto the query string:

<a onclick="window.open('popup.php?course=Excel 2003 Level 1','', 'width=210, height=600, location=no, menubar=no, status=no,toolbar=no, scrollbars=no,...
Forum: JavaScript / DHTML / AJAX Jul 4th, 2008
Replies: 1
Views: 1,614
Posted By buddylee17
It sounds like you need an onchange event to trigger an AJAX function. Basically, when an option from the drop down menu is selected, the appropriate elements of the form will change. Is this correct?
Forum: JavaScript / DHTML / AJAX Jul 4th, 2008
Replies: 3
Views: 873
Posted By buddylee17
What do you need to do? I'm sorry, but the question seems a bit vague.
Forum: JavaScript / DHTML / AJAX Jun 17th, 2008
Replies: 20
Views: 5,399
Posted By buddylee17
JavaScript is executed by the browser on your local machine. JSP is executed by the server which hosts the site. So when you visit a page written in jsp, the server executes the jsp and then...
Forum: JavaScript / DHTML / AJAX Jun 13th, 2008
Replies: 2
Views: 1,898
Posted By buddylee17
I'm guessing you want a different redirect based on some portion of the url. I could be wrong. What I would do is let JavaScript get the URL, trim it down to just the domain name using substring, and...
Forum: JavaScript / DHTML / AJAX Jun 2nd, 2008
Replies: 2
Views: 6,813
Posted By buddylee17
Shouldn't
for (var counter=0; counter<theForm.del.length; counter++)
be
for (var counter=0; counter<theForm.del.length; counter++){
and
return(true); should be return filledIn;
Forum: JavaScript / DHTML / AJAX Apr 5th, 2008
Replies: 6
Views: 2,035
Posted By buddylee17
No, don't edit anything except for display_date on line 2 and link location in line 10. The rest of the script is how JavaScript reads the current date from your machine.
Forum: JavaScript / DHTML / AJAX Apr 4th, 2008
Replies: 6
Views: 2,035
Posted By buddylee17
JavaScript will do this. HTML can't make decisions based on the date. A Server side script would be even better because the user can't disable it the way they can JavaScript. Anyway, here you go:
...
Showing results 1 to 36 of 36

 


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

©2003 - 2009 DaniWeb® LLC