...refresh the page to reload the data.
The advantage of remote scripting is you can get data from the server based on user selection or interaction *without* reloading the page. More importantly its a new, rare technology that makes you look super cool and places your site/app in a very...
HI,
You're welcome, we aim to please here in sunny South Africa!
There is also a great library to do this here:
http://www.ashleyit.com/rs/main.htm
Regards
Richard
(Johannesburg, Aouth Africa)
Hi
What you are referring to is called Remote Scripting or RPC (Remote Procedure Call). Here is a good link:
http://developer.apple.com/internet/javascript/iframe.html
Hope this helps.
Cheers,
Richard
Hi,
Checked permissions and the other suggestions above. Still no go. I am going to try re-installing Apache from the RPM (I build it from source).
Cheers
Richard
Hi,
Just download the latest Windows zip version from www.php.net, you dont neet PHP4WIN, and in fact it no longer exists. Take a look here for more info:
http://p2p.wrox.com/archive/beginning_php/2002-06/46.asp
Cheers
Richard Howes
(Johannesburg, South Africa)
Hi,
Not sure you can open a "save as" dialog box in javaScript. Assuming you can, the 'onload' event on the <body> tag only fires once the page is completely loaded.
<body onload="functionAfterPageLoads()">
Cheers,
Richard
(Johannesburg, South Africa)
Hi All,
I have installed phpbugtracker to manage bug tracking but get error:
----------------------------------------------------------------------
The "c_templates" subdirectory is not writeable by the web process. This needs to be corrected before the installation can proceed so...
Hi,
OK, so register a session variable with the logged is user's name, for example:
<?php
$user = "john"; // from $_POST probably
session_register(user);
?>
Then in your HTML code:
<input id="user" type="hidden" value="<?php echo $user; ?>">...
Hi,
You dont say how you know if the user is logged in or not, so here is some psudo JavaScript code (give me more details if you need more specific code):
<a href="#" onClick="navigate()">link</a>
function navigate(){
if(loggedIn){...
Hi,
What you want to do has very little to do with JavaScript. What you are looking for is a server-side technology like PHP or ASP to achieve your goal.
You would start with one drop down. After selecting you would return to the server, get the appropriate data for the next drop down from a...
Hi All
I have a web based application that creates and queues email to be sent via SMTP when a client machine dials-up. What I need to be able to do is run a program that processes the queue when a dial-up connection is made.
I am not looking to create the dial-up connection (aka rasdial), I...
Hi All
I have a problem with my browser (IE) caching .js files even when clearing my cache.
Has anyone else had this problem?
Is there an apache solution or do I have to find a source code/IE solution?
Thanks
Cheers
Richard
(Johannesburg, South Africa)
Hi Nico
I'll give that a try, thanks.
Johannesburg is fine, warm, sunny, no wind - perfect! Been very little rain though so the garden is looking poorly, but otherwise a perfect summer.
As a Rhodesian/Zimbabwean expat and later a Durban expat I am not too fond of winter here, but summer is...
Hi All
There was a previous thread on this, but I was wondering if there is a better solution out there now (the thread is over a year old).
I have a problem with .js files caching in IE5.5 and 6.0. Clearing all temporary files does not clear cached .js files. I have tried the...
Hi All
I have an application using IE only as the client. The app sometimes opens popup windows for various reasons/functions. I open the popup with this ('xpopup' is a global JavaScript variable):
xpopup = window.open(url,"",features);
On closing the popup I set xpopup to false. On...
Hi Gary
If the available methods are not reliable, then I agree with you to forget it (I have a similar problem making child windows "modal" using a combination of mouse capture and 'onfocus' events on the child and parent windows).
As a way of explaination as to why I need this (and...
Hi All
Is there a way to lock tab sequence to a set of form elements (i.e. prevent tab from also going to the body, images etc.)? I would like to keep focus on valid input fields when a user tabs between them.
Thanks.
Cheers,
Richard
(Johannesburg, Shout Africa)
Thanks very much (another star). I thought something to give you the "activeElement" would be a logical thing for a DOM to have.
Pity it's only IE (like many useful things I have to admit).
Cheers
Richard
Hi Steve
You can do this with the onclick event for the radio button like this:
onclick="document.forms[x].submit()"
Replace the x with the number of the form you want to submit (numbering starts at 0).
A better way may be to call a function which submits the form in the same way...
Hi
Did a google search and found this:
document.styleSheets[0].href='zoiets.css';
which will change the first linked stylesheet dynamically.
HTH
Cheers
Richard
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.