Forum: JavaScript / DHTML / AJAX May 30th, 2008 |
| Replies: 1 Views: 1,151 fixed the problem myself after an hours worth of research. |
Forum: JavaScript / DHTML / AJAX May 28th, 2008 |
| Replies: 1 Views: 1,151 Hello,
I have completed a chat application using php/xml/ajax: http://www.banditssoftball.org/chat/
I had a function to submit messages after hitting enter. the only problem was it only worked... |
Forum: JavaScript / DHTML / AJAX Nov 26th, 2007 |
| Replies: 11 Views: 6,442 what do you want to do with it when its submitted to the php page? |
Forum: JavaScript / DHTML / AJAX Nov 26th, 2007 |
| Replies: 11 Views: 6,442 could you go into more detail? i can help but i need to know |
Forum: JavaScript / DHTML / AJAX Nov 25th, 2007 |
| Replies: 11 Views: 7,302 well, for the javascript. you don't need any of the code i gave you. that was for sending one value to php not the entire form. it could if you wanted it to without refreshing the page. just private... |
Forum: JavaScript / DHTML / AJAX Nov 25th, 2007 |
| Replies: 11 Views: 7,302 post your html. ill look at it and find the problem |
Forum: JavaScript / DHTML / AJAX Nov 24th, 2007 |
| Replies: 11 Views: 6,442 sorry, i couldn't do it without appending the values. i tried 2 different ways and both of the failed with javascript errors. i made it so you wouldn't have to append each one manually. if you add a... |
Forum: JavaScript / DHTML / AJAX Nov 24th, 2007 |
| Replies: 11 Views: 7,302 oh ok i see what you are trying to do. I am going about it all wrong. you are sending the sub total value along with the form via a hidden field. i guess i didn't read into your problem very well.
... |
Forum: JavaScript / DHTML / AJAX Nov 24th, 2007 |
| Replies: 11 Views: 6,442 i made a ajax and php script that will post the value of only checked boxes into an array that can be read by php.(i was really bored) what are you doing with the values after they are submitted so i... |
Forum: JavaScript / DHTML / AJAX Nov 24th, 2007 |
| Replies: 5 Views: 15,032 use a variable.
var test = document.myForm.txtName.value;
test = null;
if(test == null){
alert('value is null');
}else if(test == 'null'){
alert('value is a string null'); //only this... |
Forum: JavaScript / DHTML / AJAX Nov 24th, 2007 |
| Replies: 11 Views: 6,442 does it have the use ajax? |
Forum: JavaScript / DHTML / AJAX Nov 23rd, 2007 |
| Replies: 11 Views: 7,302 here is the ajax code you need:
<script type="text/javascript">
function Send() {
function GetXmlHttpObject()
{
var xmlHttp=null;
try
{ |
Forum: JavaScript / DHTML / AJAX Nov 23rd, 2007 |
| Replies: 11 Views: 7,302 sorry i didn't go into enough detail. when you put the dollar amount in the url, php can access it through the $_GET method. i will make some code for you and post it soon. |
Forum: JavaScript / DHTML / AJAX Nov 23rd, 2007 |
| Replies: 11 Views: 7,302 you can either use AJAX or have javascript refresh the page with the dollar amount in the url. |
Forum: JavaScript / DHTML / AJAX Nov 11th, 2007 |
| Replies: 6 Views: 1,278 here it is:
<script type="text/javascript">
setInterval('ads()', 5000);
var image = 'adImage1.gif';
function ads() { |
Forum: JavaScript / DHTML / AJAX Nov 11th, 2007 |
| Replies: 6 Views: 1,278 i will make it with the if/else. it will take about 10 mins and then i will repost. |
Forum: JavaScript / DHTML / AJAX Nov 11th, 2007 |
| Replies: 6 Views: 1,278 i just wrote this and it works for me:
<script type="text/javascript">
setInterval('ads()', 5000);
var i = 1;
var array = new Array();
array[0] = 'adImage1.gif';
array[1] = 'adImage2.gif';... |
Forum: JavaScript / DHTML / AJAX Nov 9th, 2007 |
| Replies: 3 Views: 2,606 you shouldn't have to. i sent you a private message with a url to a test script i made. have a look. i think it would work for your site quite nicely. |
Forum: JavaScript / DHTML / AJAX Nov 8th, 2007 |
| Replies: 3 Views: 2,606 can you use php at all? i can make a script for this in a few hours in php but i am still trying to think of a way to do this in javascript. |
Forum: JavaScript / DHTML / AJAX Oct 8th, 2007 |
| Replies: 11 Views: 2,283 i can make the code using php and ajax if you need me to. just let me know |
Forum: JavaScript / DHTML / AJAX Oct 5th, 2007 |
| Replies: 3 Views: 2,296 you have to be a little more specific. what exact do you need to do with it. |
Forum: JavaScript / DHTML / AJAX Sep 30th, 2007 |
| Replies: 11 Views: 2,283 i have no idea if there are products like that out there, this is only because i do all of my webdesign and coding in notepad. as for the questionaire, i can make the the script but i do need the... |
Forum: JavaScript / DHTML / AJAX Sep 30th, 2007 |
| Replies: 11 Views: 2,283 i am pretty good at javascript but i have no idea how to do this one, sorry. i could do it in php but it would be a little different and work the same. |
Forum: JavaScript / DHTML / AJAX Sep 29th, 2007 |
| Replies: 11 Views: 2,283 so if i am reading correctly you want to show a questionaire, question by question based on user input and them collect these answers and display them to the user and save the information for... |
Forum: JavaScript / DHTML / AJAX Sep 29th, 2007 |
| Replies: 6 Views: 8,083 i was going to say that next, but you already figured it out. good for you. its really easy to do this but your hosting company might have specific rules for creating custom 404 pages. my godaddy... |
Forum: JavaScript / DHTML / AJAX Sep 29th, 2007 |
| Replies: 6 Views: 8,083 pretty much the only way i can think of is to have your site directed to a different server other than the one that holds your files. on the that server is a php page to detect the status of your... |
Forum: JavaScript / DHTML / AJAX Sep 29th, 2007 |
| Replies: 6 Views: 8,083 if your server is down you can't run any scripts to detect it or redirect. no matter what you will get a 404 error. i can't think of anyway to do this. i will think about it some more and get back... |
Forum: JavaScript / DHTML / AJAX Sep 29th, 2007 |
| Replies: 6 Views: 8,083 i am trying to understand exactly what you are trying to do. are you checking the status of other peoples servers for them and redirect to a page to show if their server is down? |
Forum: JavaScript / DHTML / AJAX Sep 28th, 2007 |
| Replies: 9 Views: 2,298 i found a problem. if the user uses www in front of the url it doesn't work. you need to add these to the javascript code.
<script type="text/javascript">
var href = window.location.href;
if... |
Forum: JavaScript / DHTML / AJAX Sep 28th, 2007 |
| Replies: 9 Views: 2,298 i tried it on six different browsers and they all worked. firefox worked just fine when i typed in your url. what exactly is the problem? it maybe the version, thats the only thing i can think of. |
Forum: JavaScript / DHTML / AJAX Sep 28th, 2007 |
| Replies: 9 Views: 2,298 try this:
<script type="text/javascript">
var href = window.location.href;
if (href == 'http://yoursite.com/') {
window.location='site_1/index.html';
}
else {... |
Forum: JavaScript / DHTML / AJAX Sep 27th, 2007 |
| Replies: 9 Views: 2,298 stuff concerning domains and what folder they are directed to has to deal with server configuration. there is no need to make a script to do this for you. |