Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rhowes

    Read database on drop down change

    ...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...
  2. rhowes

    Read database on drop down change

    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)
  3. rhowes

    Read database on drop down change

    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
  4. rhowes

    Cannot write to directory

    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
  5. rhowes

    php4win download

    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)
  6. rhowes

    Save as dialog box

    Hi, Not sure you can open a &quot;save as&quot; dialog box in javaScript. Assuming you can, the 'onload' event on the <body> tag only fires once the page is completely loaded. <body onload=&quot;functionAfterPageLoads()&quot;> Cheers, Richard (Johannesburg, South Africa)
  7. rhowes

    Cannot write to directory

    Hi All, I have installed phpbugtracker to manage bug tracking but get error: ---------------------------------------------------------------------- The &quot;c_templates&quot; subdirectory is not writeable by the web process. This needs to be corrected before the installation can proceed so...
  8. rhowes

    Opening a popup window only if a condition is met

    Hi, OK, so register a session variable with the logged is user's name, for example: <?php $user = &quot;john&quot;; // from $_POST probably session_register(user); ?> Then in your HTML code: <input id=&quot;user&quot; type=&quot;hidden&quot; value=&quot;<?php echo $user; ?>&quot;>...
  9. rhowes

    Opening a popup window only if a condition is met

    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=&quot;#&quot; onClick=&quot;navigate()&quot;>link</a> function navigate(){ if(loggedIn){...
  10. rhowes

    Dependent drop down menu

    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...
  11. rhowes

    Running a program on dial-up

    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...
  12. rhowes

    Caching Javascript .js files

    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)
  13. rhowes

    JavaScript Caching

    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...
  14. rhowes

    JavaScript Caching

    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...
  15. rhowes

    Testing for open popup window

    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,&quot;&quot;,features); On closing the popup I set xpopup to false. On...
  16. rhowes

    Lock tab sequence

    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 &quot;modal&quot; 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...
  17. rhowes

    Lock tab sequence

    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)
  18. rhowes

    Get currently focussed field

    Thanks very much (another star). I thought something to give you the &quot;activeElement&quot; 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
  19. rhowes

    Submit a form by the click of a radio button

    Hi Steve You can do this with the onclick event for the radio button like this: onclick=&quot;document.forms[x].submit()&quot; 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...
  20. rhowes

    personalize site with css

    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

Part and Inventory Search

Back
Top