Forum: JavaScript / DHTML / AJAX 8 Days Ago |
| Replies: 5 Views: 404 It submits the form to the current URL, plus a ?.
So a form on a page like this:
www.example.com/form.php submits to:
www.example.com/form.php?.
You could also use $_SERVER['PHP_SELF']if you... |
Forum: JavaScript / DHTML / AJAX 9 Days Ago |
| Replies: 2 Views: 401 Hey
The <marquee>tag is not a valid (X)HTML tag, which is why your IDE (Visual Studio, I assume) tells you it is not supported in XHTML.
It's an old IE tag that was never accepted into the... |
Forum: JavaScript / DHTML / AJAX 9 Days Ago |
| Replies: 1 Views: 304 Hey.
Try something like this:
$(document).ready(function()
{
$('#form1').bind ('submit', form1_submit);
function form1_submit()
{ |
Forum: JavaScript / DHTML / AJAX 9 Days Ago |
| Replies: 2 Views: 364 Hey.
Can you explain this a little better? Just so we know what we are looking for.
The phrase "is not working" (in any form) is a completely useless statement when you are describing your... |
Forum: JavaScript / DHTML / AJAX 9 Days Ago |
| Replies: 5 Views: 404 Hey.
I would recommend, rather than pile all the input boxes you want validated into the form's onsubmitevent attribute, have the callback function pull them out for you.
Like:
<!DOCTYPE... |
Forum: JavaScript / DHTML / AJAX Nov 14th, 2009 |
| Replies: 1 Views: 592 Hey.
Creating a simple "tabs" system using AJAX is easy enough. Especially if you use jQuery, or something equivalent.
You could just put the contents of all your tabs in separate HTML files,... |
Forum: JavaScript / DHTML / AJAX Nov 13th, 2009 |
| Replies: 1 Views: 317 Hey.
You would have to use AJAX to do that client-side. I wouldn't recommend that, tho. JavaScript can be turned off by the client, so having JavaScript do stuff that needs to happen is not a good... |
Forum: JavaScript / DHTML / AJAX Nov 13th, 2009 |
| Replies: 1 Views: 432 Hey.
You just need to change the list-stylefor the <ul> elements. Setting it to list-style: none will hide the bullets.
Like:
<!DOCTYPE html>
<head>
<title>List-Style example</title>
... |
Forum: JavaScript / DHTML / AJAX Oct 8th, 2009 |
| Replies: 1 Views: 272 Hey.
You can get the GET parameters from the window.location.search element, which you can then parse and use in your Javascript code.
For example:
var $_GET = {};
window.onload = function()... |
Forum: JavaScript / DHTML / AJAX Oct 8th, 2009 |
| Replies: 1 Views: 321 Hey.
This is a .Net thing, no?
Googling this, these two results look promising. Try reading through that and see if it helps any. If not, I would try asking this in a ASP.Net forum, because... |
Forum: JavaScript / DHTML / AJAX Oct 8th, 2009 |
| Replies: 6 Views: 457 Hey.
Easiest way to do that is to just write a function, and have that function change all the pictures.
Like:
function SetLinkBG(pActive)
{
var links = [
... |
Forum: JavaScript / DHTML / AJAX Jun 17th, 2009 |
| Replies: 15 Views: 1,546 Firefox with the NoScript addon.
Very handy if you don't trust the websites your visiting, or if you don't want to be bombarded with 20 HD flash adds on every page :-P
Actually, Firefox gives... |
Forum: JavaScript / DHTML / AJAX Jun 16th, 2009 |
| Replies: 15 Views: 1,546 Ok. I suggest somebody delete this thread before the word spreads!
Seriously tho, I'm going to have to look into this... if only to know how to prevent it.
What doesn't :twisted: |
Forum: JavaScript / DHTML / AJAX Jun 12th, 2009 |
| Replies: 15 Views: 1,546 Imagine how annoying it would be if websites could not only pop up windows, but have them chase the mouse around :S |
Forum: JavaScript / DHTML / AJAX Oct 25th, 2008 |
| Replies: 6 Views: 924 The ideal solution would be to set up a daily execution of a PHP script on the same server that hosts you website. But to do that you need access to that computer. Do you have such access?
The... |
Forum: JavaScript / DHTML / AJAX Oct 25th, 2008 |
| Replies: 6 Views: 924 Ok.
Then all you have to is set up a scheduled execution of your PHP code.
What I would do is set up a cron job.
Cron is a Unix program that executes commands at set intervals.
Windows has a... |
Forum: JavaScript / DHTML / AJAX Oct 25th, 2008 |
| Replies: 6 Views: 924 Hi.
How are you sending the text messages?
(I am assuming this is a message meant to be sent to your client's phone?)
If that is the case, you are probably going to have to use some external... |
Forum: JavaScript / DHTML / AJAX Sep 16th, 2008 |
| Replies: 3 Views: 856 Could we see the code?
It's kind of hard to debug invisible code :) |
Forum: JavaScript / DHTML / AJAX Sep 16th, 2008 |
| Replies: 6 Views: 2,746 You could try adding a "anchor" to the URL, passing the ID (or whatever) of the image you want displayed.
So, try opening a window with the URL formated like http://example.com/childWindow.html#5,... |
Forum: JavaScript / DHTML / AJAX Sep 14th, 2008 |
| Replies: 9 Views: 4,198 I'm not sure there is much you can do about that. That's probably just a quirk in the browser while it is rendering the new content.
But, just as with your welcome page, this page has all the... |
Forum: JavaScript / DHTML / AJAX Sep 14th, 2008 |
| Replies: 2 Views: 1,097 Why do you have AJAX send the data to the formlogic.php script?
You need to have a script that can process the data you are sending, and have AJAX send the data there. |
Forum: JavaScript / DHTML / AJAX Sep 14th, 2008 |
| Replies: 4 Views: 899 Hi.
You can set the onchange event to trigger a function to calculate the new price.
<select name="MySelect" onchange="javascript: SetPrice(this);">
<option selected="selected">1</option>
... |
Forum: JavaScript / DHTML / AJAX Sep 14th, 2008 |
| Replies: 9 Views: 4,198 Ahh no ok I figured it out :)
It's your welcome.html page. It does get loaded, but it's rendered *incorrectly*.
You are adding the entire content of that page into the current page, and because... |
Forum: JavaScript / DHTML / AJAX Sep 14th, 2008 |
| Replies: 9 Views: 4,198 That's weird.
I tried this on my private server. Copied all your code there and tested in all browsers... They all worked without any problems.
But the same code on your server doesn't work. :-/... |
Forum: JavaScript / DHTML / AJAX Sep 14th, 2008 |
| Replies: 9 Views: 4,198 Hi.
The onload event and the AJAX code it executes looks like it's working fine.
The problem is that the onload event is not triggered until everything on the page has been loaded and the... |
Forum: JavaScript / DHTML / AJAX Sep 14th, 2008 |
| Replies: 2 Views: 1,580 Hi.
I see two problems.
First, the <select> box is missing the ID attribute.
IE incorrectly uses the name attribute when an ID tag is missing, which explains why this works in IE.
Also, the... |
Forum: JavaScript / DHTML / AJAX Sep 13th, 2008 |
| Replies: 4 Views: 1,875 I did a little test myself, maybe it can help you.
It simply sent a request to a PHP script to update a couple of numbers, which I then displayed and updated ever 1 second.
This is the HTML
... |
Forum: JavaScript / DHTML / AJAX Sep 12th, 2008 |
| Replies: 2 Views: 529 Hi.
Try changing the name of the submit button.
The hidden field and the submit button have the same name, and because the button is later in the markup, it will probably override the hidden... |
Forum: JavaScript / DHTML / AJAX Sep 12th, 2008 |
| Replies: 4 Views: 1,875 Not knowing exactly what your other functions do, you could try sending the values along as parameters to the callback function.
Something like:
var ajaxObj;
function AjaxFunction(par1, par2)... |