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 Mike Lewis 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. JackTheRussel

    Frames: How to find out urls

    Thanks for your help feherke !
  2. JackTheRussel

    Frames: How to find out urls

    Hi. I have page where I have two frames index.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head><title>My Frames</title> </head> <frameset rows="40%,60%"> <frame src="myUp.html" name="upframe"> <frame...
  3. JackTheRussel

    How to put smarty-value to the javascript variable ?

    Sorry. I should hesitate a little bit with my post. I found the solution: page.tpl {literal} <script language="JavaScript"> var my_js_variable = {/literal}{$somevalue}{literal} </script> {/literal}
  4. JackTheRussel

    How to put smarty-value to the javascript variable ?

    Hi all. I just started to study smarty and I find out problems right away. I try to put smarty-value to the javascript variable like this: page.php $my_variable="foo"; smarty->assign("somevalue", $my_variable); smarty->display("page.tpl); page.tpl {literal} <script...
  5. JackTheRussel

    Image refresh with javascript

    Sorry my bad english ;) When I put images on web-site (by using php), after that I just want refresh images by using javascript. Image change only if I replace old image with new image which have exactly same name that the previous image. The problem is, that I have code which refresh just...
  6. JackTheRussel

    Image refresh with javascript

    Thanks for your help tsuji ! But. I didn't meant what your code does. All I want is to refresh images after the 3 sec. It's like I would push F5 after the 3 sec ( browser refresh the page) But I don't want to use that technique because user can see the refresh event. I want to use...
  7. JackTheRussel

    Image refresh with javascript

    Hi. I have tried to create javascript-code which would refresh images that are in my web-page. I put images on site by using PHP. At the same time when I put images on my site, I put image-names on javascript-array. Then I have tired to create code, which would refresh images. // OK Here I...
  8. JackTheRussel

    How to read selected listbox value ?

    tsuji: [1] Yes I execute the query. Query works fine, because I get response stuff to the dropdown box. [2]Fixed. Thanks. [3] My mistake. I write that clause too fast. There is () I just wonder, could the problem be this: When php-script is executed, I actually run two sql-queries. And I...
  9. JackTheRussel

    How to read selected listbox value ?

    I have to add that the firefox error console says: ind has no properties
  10. JackTheRussel

    How to read selected listbox value ?

    BillyRayPreachersSon. Yes, the form name is form1 Now when I try to do like you said, I get this kind responses: var frm = document.forms['form1'].elements; alert(frm); // [object HTMLCollection] var ind = frm['letter'].selectedIndex; alert (ind); // undefined ?? var selected =...
  11. JackTheRussel

    How to read selected listbox value ?

    Thanks for your replys. First, I try to clarify what I meant. In my index.php page, I have dropdownbox: <div id="letterdiv"><select name="letter"> <option>Select profile First</option> </select></div> And dropdownbox gets values from this php-program: <?php $query="SELECT id...
  12. JackTheRussel

    How to read selected listbox value ?

    Hi. I have dropdown box on my page. Now in function Stat I would like to read the selected dropdpwn box value. How can it be done? I have tried to read the selected value like this: var selected = document.getElementById('dropdiv').innerHTML; But it gives me something like this: <select...
  13. JackTheRussel

    How to give listbox values to the function

    Thanks for your valuable information! I'm terrible sorry, that there is Function called Hae. It should be GetValues. I will fix all these errors that you showed to me. Thanks !
  14. JackTheRussel

    How to give listbox values to the function

    Hi. I have multiselect listbox on my web-page. Now I try to give selected listbox values to the javascript function (GetValues) when button is pushed. I found two function on web, which print values to the alert-box when button is pushed (getSelected and outputSelected) I changed...
  15. JackTheRussel

    Can set this kindf of replication

    Thank you very much Luc! Now I know how to set replication between databases.
  16. JackTheRussel

    Can set this kindf of replication

    Hi. Is it possible to make replication like this: I have one machine (master1) where I have one database called db1. And I have different machine (master2) where I have one database called db2. I also have third machine (slave) where I have two databases: db1 and db2. Now the slave database...
  17. JackTheRussel

    remove if exists?

    Ok. Thanks travs and Miller !
  18. JackTheRussel

    remove if exists?

    Hi. I have program, which first removes all music files from folder /home/xxxx/folder. Then there will be saved some new files: Example system("rm $music_dir/*.wav"); system("rm $music_dir/*.mp3"); Now when I look my error_log, there are multiple errors: rm: cannot remove /path/*.wav No...
  19. JackTheRussel

    How to get variable value from other site?

    Thank you ishnid !
  20. JackTheRussel

    How to get variable value from other site?

    That's not an option. Is there any other ways ?

Part and Inventory Search

Back
Top