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 SkipVought 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. vacunita

    Making elements visible during an onChange() event

    Before starting the data manipulation would be my choice. Beyond that, and without knowing anything about your code or what you are doing its impossible to be any more specific. ---------------------------------- Phil AKA Vacunita ---------------------------------- OS-ception: Running Linux on...
  2. vacunita

    javascript read file rtf

    That's because you can't, javascript cannot on its own read content from other websites. You can use an <object> HTML tag to embed the RTF file into the website if you want, but not all browsers support this. The other option is to use a server side programming language to get the RTF from...
  3. vacunita

    Making elements visible during an onChange() event

    Where are you placing the function to set the visibility if the "Please wait" text exactly? If your complex data manipulations are holding up the javascript execution, then yes, nothing will happen until after its done. How are you performing these manipulations exactly? If using ajax, you...
  4. vacunita

    Php passing a variable from a dropdown list to Ajax

    This: var grupo= $('#grupo').val(); looks for an element with an id equal to "grupo", not a name. Your Select element does not have an id only a name. Try: echo "<select name=\"grupo\" id=\"grupo\" onchange=\"showname(this)\">"; ---------------------------------- Phil AKA Vacunita...
  5. vacunita

    insert data into colums of different tables

    Since you cannot insert into multiple tables with a single Insert statement, you would need to run multiple Insert statements, each inserting into a specific table, and then as such, each statement knows exactly what table and column it will insert into. ----------------------------------...
  6. vacunita

    Vanity Subdomain for SaaS Web app instances

    Its probably simple, but has nothing to do with PHP. Subdomains are the sole control of the webserver not PHP. You would need use a server job/script outside of PHP, that generates such subdomains in the webserver's configuration file and points them to whatever it is you want to point them to...
  7. vacunita

    If primary key in array availble but no foreign key in many array echo a comment

    Since your echoing out on the fly, it prevents you from checking whether there's a matching value or not. To maintain your logic you can add a control variable, and act on it after the foreach loop is done. $control_var=false; foreach($handout_array as $row){ if...
  8. vacunita

    Save table contents results in empty array

    getdata is a function not a variable according to the Tanbulator FAQ as such it should be called as getdata(); With parenthesis. What happens if you do var tmp = table.getdata(); console.log(tmp); ---------------------------------- Phil AKA Vacunita ----------------------------------...
  9. vacunita

    Save table contents results in empty array

    Doesn't look like an issue with your Javascript. To send data to a PHP process through ajax you need to specify a variable to attach the data to. Since you are not, my guess is your process.php PHP script is simply not receiving any data to save. You would need to figure out what variable...
  10. vacunita

    A TextBox Should Be Filled In

    <form name="myform" onsubmit="return checkTextAreas();"> <p><textarea id="textarea1"></textarea></p> <p><textarea id="textarea2"></textarea></p> <p><textarea id="textarea3"></textarea></p> <p><input name="submit" type="submit" value="submit" /></p> </form> <script type="text/javascript">...
  11. vacunita

    How do I edit this code to also count the checkboxes checked and total values

    Not the most optimized, but something like this works and can be used for future sections easily, by just changing the checkbox names. Though feherke's solution is more elegant. function updateTotal(e) { var form = this.form; countPersonal(); var val =...
  12. vacunita

    Laptop suggestion, mostly for Skype

    A 1080p webcam and high quality Mic will be hard to get on an under $800 budget laptop. What you want simply isn't available on lower priced laptops. Any laptop running Windows 10 can Skype. The quality of the image is a different deal. Also of note, is that you having a 1080p camera will...
  13. vacunita

    Array in a Table

    You can store serialized arrays in a mysql text field type. Serializing takes an array and turns it into a string you can store in a DB table. If using PHP for instance, you can call the serialize and unserialize functions to turn an array into a string you can store in a single table value...
  14. vacunita

    Done with Windows 10; Going back to 8.1

    1. I've had a few Explorer lockups, but that is par for the course with Windows, all versions. I see no real difference from when I was running windows 8, or 8.1 Or even XP, 98 etc... Explorer has always had sporadic lockups. 2. That's a glitch, which is documented and reported extensively...
  15. vacunita

    SELECT Query works in phpMyAdmin but not in PHP program

    It shouldn't happen. Some issue with the table aliases I would assume. Anyway, glad you got it sorted. ---------------------------------- Phil AKA Vacunita ---------------------------------- OS-ception: Running Linux on a Virtual Machine in Windows which itself is running in a Virtual...
  16. vacunita

    SELECT Query works in phpMyAdmin but not in PHP program

    It would appear your query is returning a false statement as such $a_query is boolean and not a result object that has a function named fetch_array to call, but is not triggering the die() statement. What happens if you echo out the error after the query call? $a_query = $conn->query('SELECT...
  17. vacunita

    I'm inserting a text file into a we

    You can't. The contents of the object tag are displayed as is. While you can affect the object element itself, such as its background and border, the actual data content of the "object" element cannot be formatted outside of any format it itself contains. If its a straight text file, then it...
  18. vacunita

    Ajax textbox and value

    Just the third question is more PHP than JS. The other 2 do belong here. Do you have a further question about it? Of os, yes post in the PHP forum. As to how to process the JSON, there's several ways to do this. You can have your PHP code return HTML and just have Javascript insert it into an...
  19. vacunita

    Ajax textbox and value

    1. Probably yes, but without knowing what you are doing in the JS portion of your code to display the results its hard to say what can be done. You would need to have JS process the returned json and output the data however you need. 2. No. The Textbox has only one value. However, depending on...
  20. vacunita

    Help with setting up a media server

    That depends on how your server is set up. In Ubuntu normally the Apache directory is in something like /var/www/html/ That folder might contain an index.html file. This translates to something like xxx.xxx.xxx.xxx/index.html as a url Apache can serve any folders and files in that location...

Part and Inventory Search

Back
Top