Get HOST Name Using Script?
Jul 25, 2011Tell me code to show hostname?
View 1 RepliesTell me code to show hostname?
View 1 RepliesRecently I was forced to change hosts for my wife's on-line business. On the previous host my JS for displaying date last modified worked ok. But on the new host it is not visible. The new host calims that my code must be wrong but I do not see how as it is unchanged. Before is the code
[Code]...
I am not sure that this is the right forum but will start here anyway - I have a web page with JS modules: jquery and jsoverlay. Everything appears to work perfectly on my test server in the office but when I load the same page from our main server the JS does not appear to work properly. Oddly though, other JS works without any problems at all. I just cannot see what I am missing here.[code]...
View 14 Replies View RelatedI'm trying to write a javascript that checks if a server/host is available. To be more precice. I would like to check if the browser can read an XML file from a server. If not the script should read the same XML file from a backup server. Does anyone have any idea how to achive that?
View 6 Replies View RelatedI won't lie to you. I'm trying to get data from html source from a 3rd
party website. I'm NOT interested in stealing code,hacking,sending
spam or anything sinister like that. I just want the content that is
displayed but I need to get it automatically via VB. It's only
publicly available price information but I don't think the website
wants everyone to be scraping their info into a database.
Apart from the base URL, the site concerned navigates solely through
javascript functions and session variables. I suppose what I'm asking
is, is there anything out there that tells me (the syntax) of what my
browser is actually sending to a website when I click a javascript
toolbar/button/dropdown within IE.
I have designed a site. It's working properly in locally.Now I want to insert a special javascript on my home page.The job of that special javascript is, makes some errors in the site when site is going to publish on internet.
View 12 Replies View RelatedI have a form where I ask my users for a comma seperated web site list. I want to make sure this list only contains the host names of URLs without any white spaces
Original list: [url], [url], [url],[url]
Edited list: [url],[url],[url],[url]
Currently I have the following to get the comma separated list
var list = document.getElementById( "list" ).value ;
I'm embarking on a new project - although I've hit a wall.
I require a page to refresh at a scheduled date and time, several times a day.
For example, I would like the web page to reload the index at 3:15PM
So if anyone has the web page open during that time, it will automatically refresh for them.
Timing is quite important so I would need the script to use the server (hosts) time and not the end users time.
I am currently deciding on which server language to use, although Javascript is probably a suitable option? or would ajax be more the thing for this?
The webpage must execute the refresh at the time 3:15pm, so no matter when someone visits the page, even if its hours before, it must refresh at that time.
If anyone has any pointers on the best way to achieve this and what language to start with I am forever greatful :thumbsup:
I do a lot of image design work and although I have worked with a few coders in the past but I haven't gone too much into coding myself, but its something I'm going to take time to learn and get involved in, so I'm not looking for script hand outs here, mainly just a nudge in the right direction.
I need to get the domain of the page (mydomain.com) There seems to be 2 variables to get this info. document.domain & window.location.host - Both are set in FF & IE. So whats the difference between these ?
View 1 Replies View RelatedI'm new to javascript and PHP and I am wondering if there is a method or function to capture a 404 error in the event a particular html file cannot be found. I want to redirect that error to another page or design the code to send me an email telling me what page was selected and not found. In other languages I can trap such an error and respond to it.
View 3 Replies View RelatedI have a form where I ask my users for a comma seperated web site list. I want to make sure this list only contains the host names of URLs without any white spaces
Original list: [url], [url], [url],[url]
Edited list:[url],[url],[url],[url]
Currently I have the following to get the comma separated list
Code:
var list = document.getElementById( "list" ).value ;
I have made a ActiveX control for commericial application. A Drag and
Drop component for Mail server.
I need to host the component in Internet Explorer.
When a user opens a mail it should prompt the user to download and
register the Drag and Drop activeX component.
This should be a trivial program. Please let me know how is it done.
I'm looking for an image cropping tool script that I can provide on my website for users to crop their uploaded photo on my site and I can store them directly on my host. (instead of having to go to another page, or open up photoshop etc, crop their photo, save, and then upload to my site) I see some websites providing this service, does anyone know any scripts that allows me to do this?
View 1 Replies View RelatedThis is just a matter of best-practice, but i'm wondering whether it is best to host the jquery.js file locally, or to hotlink directly to the file on [URL]. I personally prefer to host it on my server, but if there are reasons why it's better to link to external file, i'd like to know them.
View 1 Replies View Related