JScript Ad SERVICE Broken?
Jan 14, 2010Code attached, the bb code dosen't let my code post.
View 2 RepliesCode attached, the bb code dosen't let my code post.
View 2 RepliesI'm trying to write a simple javascript and am having some difficulties. The purpose of the script is to send an xml document to the service. The response is not important.
I'm getting this error: "HTTP Is Not Defined"
Code:
I heard it is not the same.
The lastest version of JavaScript is 1.6 while lastest version of
JScript is 8.0
I also heard a little bit about ECMAScript, but I still don't know
what's the difference of them.
So, what's exactly the difference of it?
in ASP i can finish this line with an asp variable like below
mytext variable would contain a string like
"Pop_up()" <body Onload = <%=mytext%>>
so using ASP i can complete my onload statement.
I need a way to do this using a variable in Javascript.
How can this be done?
Does anyone know any programs I can use to validate Jscript? Preferably one that points out where the errors are. I need anything that can be thought of as long as it isn't IE. I'm okay with javascript but the differences in Jscript are making mountains out of molehills. If there was a Jscript section here I would have posted this there.
View 6 Replies View RelatedNot sure if this can be done with javascript but I would like to find a way to detect if an image is missing and replace it with a default image instead of the dreaded RED X showing up.
So - Is Javascript the way? Or should I look elesewhere?
I have an html file which links to word docs amongst other things; but
these files and their location may change periodically.
How can I adapt my html so that if the files do not exist, the links
are hidden i.e. how do I hide broken links?
I have a problem with an ajax application using jquery.Depending on the responseText I want to load another page into a containerA response created by php can look like this:redir@test.php?a=1&b=2&c=3I parse it with javascript as follows:
Code:
function parseInput(responseText){
var redir= /redir@/;
[code]....
l am making an jax call and the data is coming back fine inserted into the specific div correctly.However my css is broken after the AJAX call. the h1 are too big some menu items disppear.See code below
jQuery('#section').change(function()
{
jQuery('#loading')
[code]....
I am making a very simple application for my own personal use on my
Windows XP box. I want one that looks and feels like a web app. I don't
have too many languages to choose from on my home computer, and I don't
feel like installing a web server, and it already has Access on it, so I
was thinking HTA with JScript and Access. I see a way for JScript to
talk to Access is with ADO. Is this the best way, or is that the "old
way"?
I have a form input that takes a date in the format MM/DD/YYYY.
I would like to validate this input using Javascript in two fashions:
1. I need to check that the format of the input is 'MM/DD/YYYY' with the month day and year being numeric
2. I need to also check that the 'MM/DD/YYYY' being input is later than today + 2 days (i.e. if today is 12/27/07, then the input must be 12/29/07 or greater)
I have an application where I have 9 items to choose from and desire a table that will allow only 3 items (any 3 items) to be chosen then check out of the table.Check out can not be allowed unless only 3 items are selected.
Is the JScript applications somewhere that will perform this logic?
I have a dynamic page, it's a calander so called calander.asp
When the page loads it opens a popup window (filters.asp) containing a form that a user can filter different dates with different filters.
function openpopup(){
var popurl="filters.asp"
winpops=window.open(popurl,"","width=400,height=600,scrollbars,menubar,")
}
openpopup()
What im trying to do is get the when the user fills in the form.
it submits to the calander page, (the parent?)
<form name="form" method="post" action="calander.asp" target="_parent">
i want the popup to remain intact. when the form is sumbitted it opens a new window behind the filters.asp popup and doesn't filter the correct results.
What I need is a Javascript alert, such as "Are you sure you want to permanently delete record/s - Click OK to delete." to appear only if (isset($_POST['lnk_publish'])) is true... Code:
View 2 Replies View RelatedWhat's the global object in a WSH JScript?
View 4 Replies View RelatedSeehttp://api.jquery.com/category/deferred-object/links tohttp://api.jquery.com/jQuery.thenhttp://api.jquery.com/jQuery.doneetc don't work.
Is it possible to post a patch to the docs somewhere?
Is it just me, or can no one else see the content of the documentation pages?All I get is a blank window. I've tried multiple browsers on multiple computers with no difference.
View 5 Replies View RelatedIn jQuery 1.4.4 I could load a JSON file from subdomain2.website.com to subdomain1.website.com without any problems. When I upgraded to jQuery 1.5 this didn't work anymore.
Is this a jQuery bug
$.getJSON("http://subdomain2.website.com/resources/data.json", function( data ) {
console.log("data");
});
I have an issue in which any and all jQuery function calls are broken in Internet Explorer and Google Chrome but it functions properly in Firefox and even Firefox doesn't give me any Javascript errors.[URL]..
View 1 Replies View RelatedI am developing a Firefox extension and after upgrading from jQuery v1.2.6 to v1.3.2 I found that including jQuery in the XUL-file will break other extensions that displays buttons on the toolbar, among those is Adblock Plus.
I have not tried any versions between those mentioned so I do not know in what version this happened. If i revert to v1.2.6 everything is OK.
A common javascript function that capitalizes input as user types (onkeypress) no longer works as of IE9Need a function that also works in IE 9 that doesn't not change method call or interface (as it's used in 150 places throughout application).
CALL:
[CODE]
el.onkeypress = function(el) {
return c_capitalizeInput(el);
}
[CODE]
FUNCTION:
[CODE]
// Intercepts keyboard input and capitalizes keystrokes.
// Call with onkeypress="return capitalizeInput(event);"
// Compatible with both IE and Netscape/Mozilla
function c_capitalizeInput(evt) {
evt = (evt) ? evt : ((window.event) ? window.event : "");
if (window.event) {
// IE
if ((evt.keyCode >= 97) && (evt.keyCode <= 122)) {
evt.keyCode = evt.keyCode - 32;
} return true;
} else if (evt.which) {
// Netscape and Mozilla
key = evt.which;
if ((key >= 97) && (key <= 122)) {
key = key - 32;
evt.target.value = evt.target.value + String.fromCharCode(key);
return false;
} return true;
} else {
return true;
// Can't do anything for other browsers
}
}
[CODE]
How to make this work in IE9?
I've been trying to show a div using jQuery's show function with the scale effect. My code works fine in Firefox. When I test it in IE7, it breaks. I narrowed it down to either the origin argument of the scale effect, or the time argument of the show function (which seems unlikely). Like this:
Works in IE7, italics added to show commented code better:
Code:
$(document).ready(function() {
$("#hover").hover(
function() {$("#content_show").show("scale",{percent: 100, direction: 'vertical'});},//, origin: ['center','center']},500);},
[Code]....
Also, not as important, but what is the syntax of the origin property? What values can I use in it?
I have had a report that the tabs (product description, shipping etc.) found on this page don't work:
JCDC x odm collection - UFO - Black
I have checked on quite a few browsers and it seems fine. The person who reported it appears to be using IE9 which I don't have access to.
I found, after some googling, a js that shows broken image links in FF. I wonder if its possible to alter it so that the script displays the broken link image in the same size as the original image is in. Now it makes it in to 80x80px [code]...
View 6 Replies View Related(Short version on a asp page, fill out the form and press submit. It takes you to a thank you page, at that point I want it to go BACk to the form.
(Detailed For my work, we have a web based ticket system, and add notes to these via asp pages. I came up with some code to auto file the text, change combo box's then submit itself. Upon submit it takes to a simple "Thank You page" .... after .submit I would like it to go back to the origional "frmAddnote" page. I have tried everything for 2 weeks including:
[CODE]
history.back();
or
history.go(-1)
or
[Code]....
PS Its important to mention that I am running this code from a testfile.js on my local machine... Works fine just cant get it to go "back". I have no control of the code on the asp pages but thats not important.
I have this jscript code and I want to show the first div onLoad. Trying to figure this out, what I did was:
Running on firefox works fine, the first div is showing onload BUT testing on IE doesn't work at all. It displays an error:
Here's the jscript i'm using: