I want to run some 100 urls on chrome with out exiting and also with out any tabs i.e on same window it should load urls one after another. I have written a script which will load urls in inframe. But how can i do it to load from address bar.
I have a database of URls' anf my web app calculates the loadtime of all this url one at a time and stores it in database,the way i am doing this is executing a javascript on onload event of iframe ,i want to calculate the cpu utilization of the sites as well and store it in database and have no clue to do this ,i can execute a system command like top but i can seem how to execute it in javscript,
I have a menu that is supposed to spin when a link is clicked on and THEN open the link. The onclick function runs nearly simulatenously as the link load, so I'm turning off the default behaviour ("return false") and loading the URL with the function; however this is where the error comes in. I gather from a bunch of google searches that I have escape some characters in the URL, but they are being passed in a variable (this.href), so I don't know how to do this.
I have a form with a list box. Beside the list box I have a link that opens a new window in order for users to enter new records which then appear in the list box. How do I make the list box refresh to show newly added records? Can I refresh it when it receives the focus or are there better ways to do it? Also, how do I make the new window open to a certain size or to make it maximized?
I have a unsorted list that is set to to 260px tall. (just big enough to show 4 lots of information) and then 4 more lots of information. I have it so that it can scroll but I was wondering. Is there away I can make it auto scroll when the selection hits the 4 item? the manual scroll is fine but would like it so if the auto selection scrolls to the 5th item it then auto scrolls the items to show the new ones?
I would like to add a "Create new..." item to my autocomplete lists togive users a way to create new items. This item would stick at eitherthe top of the bottom of the suggestion list and, when selected, firea callback where I could display a dialog to collect the formationfor the new entry, which would then go into the autocomplete list.I could easily be missing something but this doesn't look possible outof the box.More explanation: I'm selecting from a list of people. If the personI'm looking for isn't in the list I need to pop up a dialog so I canenter their name, email, etc. That new person then gets put into theautocomplete list and selected into the form field.I've been poking around the source code but haven't been able tofigure out a way to implement this yet
I have set up my website quite some time ago that has served its purpose very well, however I will now be adding an order form functionality. So far, by reading books and traversing forums, I have been able to develop a page where the user 1.Enters data into the required fields, that is then submitted to a MYSQL database via PHP, 2.Can retrieve orders that are stored in the database, 3.Delete orders that are stored in the database.
I have wamp installed on my computer as the webserver. I have also incorporated two drop down lists that both retrieve their values from tables within the database. The first drop down list retrieves the Australian States that I have stored in a table, and once the submit button is pressed, it stores the State that is selected to a separate table. This drop down list functions as it should. An extract from "From Place an order.php"
<?php $dbcnx = @mysql_connect('localhost', 'root', 'tingling'); if (!$dbcnx) { exit('<p>Unable to connect to the ' . 'database server at this time.</p>'); } .....
The second drop down list retrieves product names from a table that contains products and their prices. What I would like to happen, is that when the product is selected from this drop down list, a text box is automatically filled with its corresponding price. I had this drop down list working as per the "States" drop down list, but could not get it to auto populate the text field. I got some assistance from a friend and was able to get the text box to auto populate with its corresponding price, however when the page was submitted to the database, the "id" number of the product name from the drop down list was stored, and not the product name.
<select name="productSelection" onchange = "getProductDetails(this)"> <option selected value="1product">Select Product</option> <?php $products1 = @mysql_query('SELECT * FROM products'); if (!$products1) { exit('<p>Unable to obtain author list from the database.</p>'); .....
Apparently, this is for use of when you are modifying, for example, a PHP header or footer displayed on every page and you only want something to show up on particular pages. My issue is that I am trying to put something in the header of a Tumblr blog, and I only want it to show on the post pages.
I'm working on a project that has a logout button, but (like most things) it's kind of a hack. I'd really like the one logout window to actually hit two logout URLs. I only need to display one window that a person has logged out, but would like to end the session in both. I'm thinking I could use something like Code:
I have a query on browse button, In my page , i want to upload files , But i dont want normal <input type=fileto be used for this, so can anyone tell me anyother alternative solution for this , Here I have a button and textbox, if i click the button, it should popup a file upload dialog box ,after selecting a file, that path should be pasted in that textbox...
I have URLs as follows. [URL] I need a function which can retrieve substring from the above URLs. The substring should be upto the 2nd occurence of '/' as follows. [URL]
I'm looking for one of those scripts with you can add another browse for file box to upload files. Eg: as u see in attachments on webmail sites. Do any of u have a simple script like this or can link me to one?
What i need in the script is to be able to: -Set the maximum number of browse for files boxes that appear -Check if the same file is added more than once -have a link next to each file to remove a selected file
Kind of like this: Add a file -> Click on this to get
File name - <selectbox> - <browse button> - <remove file>
<remove file> removes the file next to it so another can be added upto the limit set.
Websites like gmail.com use a file attachment system where the sender selects the file from his/her computer to be included within the message. The thing about this is that when the file is browsed upon there is NO browse input element to be shown.
I believe this somewhat prevents the user from messing around with the embedded filepath within the browse box (if they can mess it up). It also doesn't display such an ugly looking browsing box and it's file path.
how to Browse server from my Admin page.i made an admin page with username and password...i want the administrator to browse the server to choose an uploaded file to be shown in the front end page SO i need to know how to browse server and choose file from it like the tag
I'm developing a virtual file cabinet application using JSP. I'm able to display files and folders under specific root folder. My requirement is to display a button next to each server file which when clicked, a browse for folder dialog should popup with the server directory tree structure like below: something like this: Instead of desktop which is client machine folder, i want a jquery control that i can use to display server folders where i've control passing the root directory path to the control depending upon what a user can access.
assist with how to modify a specific css value of an object? For example, I want to do over all children of "body", and see if they have any css attributes containing a url(xxxxx) part. If so, I would like to make some change to that url (replace it with something else).
Im trying to parse an XML file that has holds the URLs to about 10 images. However, all the tutorials I have followed do not seem to work. Ive been trying this for a few days now and I was hoping one of your jQuery gurus may see something I dont.
<html:file property="browsefile" value="" /> and in the script i wrote as: function keyp() { alert("Please select the file through the browse button ! "); alert(document.AddDeSelNumForm.browsefile.value); document.AddDeSelNumForm.browsefile.value='' document.AddDeSelNumForm.browsefile.focus(); }
what i want is , not allowing the user to input the file manually. he must have browse the file through the browse button and shouldn't write it manually. Here in this i've to use the struts one html file option because i'm using this function for other.
Here what is happening is, when i press any key it is popping up the message but after click on OK, the value which i entered is remains there only eventhough i'm using :document.AddDeSelNumForm.browsefile.value=''
but the strange think is that when i'm alerting that particular value it is showing the the value of the browse text which u have entered the text. I'm really confused why it not clearing the field.
JS isn't my usual language, but I'm venturing out to write a Chrome extension. This extension basically just injects a script on a page, so it behaves just like any other JS.Anyway, the script finds specific URLs on a specific page, and changes them slightly. I'm using regex to find these URLs. I've got one working, but I need another, and I can't figure it out.The first is this:Also, my skills with regex are miserable, so if you know of any way to make this better, I'm all ears. This matches URLs like this:Now I'm trying to match URLs like this:[URL]If you know how to modify the original regex so that it'll match the second kind of URL (but not the first)