JS Works On One Host But Not Another
May 13, 2010
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
ADVERTISEMENT
May 8, 2010
Recently 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]...
View 1 Replies
View Related
Jul 25, 2011
Tell me code to show hostname?
View 1 Replies
View Related
Dec 5, 2006
I'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 Related
Jul 20, 2005
I 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.
View 1 Replies
View Related
Jun 9, 2010
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 Related
Jul 17, 2011
I 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 ;
View 1 Replies
View Related
Aug 24, 2011
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.
View 12 Replies
View Related
Mar 3, 2009
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 Related
Jul 20, 2005
I'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 Related
Jul 17, 2011
I 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 ;
View 3 Replies
View Related
Jul 15, 2007
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.
View 1 Replies
View Related
Sep 8, 2010
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 Related
Jan 19, 2011
This 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
Dec 13, 2006
I'm just restating my "site abandonment" post but with a clearer title as I realized it probably only made sense to me and me alone.
I have window that pops up with our commerce system. I have it set to pop up a window via JavaScript if the visitor quits early in the process (abandons the commerce system before completing all of the steps. The new popup is just a customer survey ("why are you leaving, is there something else we can help you with" etc. etc.).
Here's the problem, it works fine in IE, but in Firefox, anytime the page in the original commerce window is changed, refreshed or advanced to a new page, the survey popup window is called rather than just on window close.
Again, here's the two JavaScript routines that handle clicks on the graphical close button and on the window 'X' close button. Code:
View 9 Replies
View Related
Mar 24, 2011
So I have this code listed below:
<script type="text/javascript">
if (!window.console) {
window.console = {
[code]...
It works perfectly fine in IE but as soon as I load it in FF it does nothing.
View 1 Replies
View Related
Nov 26, 2010
I have a page at the following url:[URL]Pick a continent, select a country ( orange if in Asia, green if in Africa) click on one of the bullets and some info pops up. Works fine in FF and Safari but in IE, it works (almost) once, but then goes dead i.e. the links seem to disappear. get this working in all browsers?
View 3 Replies
View Related
Jan 5, 2011
check out this page [URL] (you might see an ERROR like "Notice: Undefined index: SCRIPT_URI ... on line 23" THAT'S FINE - that page sets a cookie to allow you to see the header with login on homepage)
then go to the homepage: [URL] and try to click on "Log In" in top right corner a overlay with iFrame opens IE7 but not in IE8
what's the right way to handle something like this? approach? steps? techniques? tools?
View 1 Replies
View Related
Mar 24, 2010
I built a horizontal navigation dropdown menu and it works in IE6, but when we were pushed IE7 it stoped working. Is it my javascript or is it my CSS (do I need html hacks for IE7 )
HTML Code:
[b]javascript:[/b]
// JavaScript Document[code]......
View 6 Replies
View Related
Nov 22, 2010
I should probably know the tricks about javascript not working in IE etc. I'm sure this is something very basic. I just can't figure it out, and it's really not my strong suit.I'm testing it with IE8.IE is getting stuck on two of these ajax functions:
--------- the error -----------
Message: Unknown runtime error
Line: 47
Char: 5
Code: 0
------------------------------
Code:
function blcode_search(blcode,asa_hash) {
if (window.XMLHttpRequest)
[code]...
Edit: I tried messing with the security settings and everything... IE is running in please exploit me mode.
View 1 Replies
View Related
Jul 23, 2005
I have some functions in a script in which I'm manipulating the
innerText and background colors of certain rows in a table. The lines
below work OK in IE but when I try them in Mozilla, I get an error
that says: "document.getElementById('TableX').rows is not a
function".
thisRow = document.getElementById('TableX').rows(1);
thisRow.style.background = 'white'
Can anyone give me a clue as to how to fix this so that it will work
in both browsers?
View 2 Replies
View Related
Jul 21, 2006
I have a script that works perfectly in IE but not in FF. I am sure that the problem is easy to resolve, but I seem to be too dumb to figure it out......
View 9 Replies
View Related
May 30, 2010
The following works in IE8 but not firefox. q is a variable that is an id:an example of the selector is [code]
View 1 Replies
View Related
Mar 30, 2011
i have a dynamic update form with 2 checkboxesi use the following to check/uncheck the checkboxes so that only 1 is ever checked, the checkbx also updates the record using onclick.The onclick for updating record works fine for every returned record however the javascript will on function on the first record
Code:
<script type="text/javascript">
function checkplay()
[code]....
View 7 Replies
View Related
Aug 27, 2009
Im using javascript for my gallery with slideshow, its perfectly working in 3 browsers like safari, Firefox and chrome but not working in IE7. There is an alignment problem + scripting problem
View 2 Replies
View Related
Sep 1, 2009
Code... I have know much about javascript, but the code above works fine in safari and firefox but not IE.
it's for a popup, when you click a link it blankets the page and theres a popup window.
here's other parts of supporting css/php code...
View 3 Replies
View Related