HTTP 500 Error - ASP + Javascript
Jul 23, 2005I cannot get any SQL query to run at work, even though
the same script runs at college????
I always get a HTTP 500 internal server error.
Can anyone point out what I am doing wrong?
I cannot get any SQL query to run at work, even though
the same script runs at college????
I always get a HTTP 500 internal server error.
Can anyone point out what I am doing wrong?
I am using jquery.ajax() to make a POST call to web server which returns HTTP 201 response for successful creation of object at server. Since 201 is a success I expect the success function specified with jquery.ajax to execute but instead it executes the error function specified with jquery.ajax. Here is how I am using jquery.ajax call.
[Code]...
I need to be able to get the HTTP-REFERER of an HTML page. Is it possible to do it with a JavaScript applet included in the page itself?
View 1 Replies View RelatedRef. http://support.microsoft.com/kb/834489/en-us
Now that http://username:password@site.com no longer is an accepted
syntax in IE, I suddenly have a case in a project I'm working on. The easiest(?)
solution would now be that there was some Javascript function that
could pass the username and password or in som other way automate the login
process on a given site.
Thing is I have a server-generated HTML page that I want to make the
client redirect to a password protected site. (IIS Windows authentication).
Before: location.href='http://name:pwd@site.com'
Now: ?
Is it possble to do a HTTP post request inside JavaScript? - That is I don't
want to use a HTML FORM, but need a JavaScript to post a value to a PHP script not encoding the parameters in a URL.
I'd like to make an HTTP request using JavaScript but not with the XMLHttpRequest object. I'm attempting to make this request to a different domain to get information and the security of modern browsers won't allow this with the XMLHttpRequest object.
Is there another way to do this in JavaScript? Oh and I'm not taking advantage of the asynchronous nature that object either, so that's not a criteria for a potential solution.
I am trying to write a script which will allow me to read the contents of an
HTTP web page into memory, parse the data, and output a calculated value.
The HTTP page is on a web enable appliance - I am reading some data out of a
table for further calculation. I can't modify the web appliance, only read
the text data.
I've written a script on my Windoze PC that successful uses a MSXML2 ActiveX
object to read the contents of a web page into memory using the
xmlhttp.responseText object. The problem is that the ActiveX object is not
available on a lightweight Linux based http server.
I need to write a script that will work with ASP/Javascript on a lightweight
Linux based http server.
I need to access the CGI Variables or HTTP Headers in a request. Can I do that in JavaScript? Specifically I need to access the CGI variable remote_user.
View 3 Replies View RelatedI don't understand ..
$("#form-dialog-join").dialog() is a valid function which I copied from Jquery demo. What's wrong with it?
btw, all the jquery library is loaded correctly.
Can anyone redirect to any online tutorials, articles, code of how to upload a file using HTTP PUT method and JavaScript or VBScript to a server running Apache 2.0 that uses CGI + PERL.
How to create configuration entries in httpd.conf for supporting HTTP PUT method.
How to code with AJAX to post uploaded file content to the server using PUT method ?
This page works fine when viewed in Firefox 3: http://jimpix.co.uk/ecards/no-words.html
But in IE6, I get a javascript error:
Line 5
Error: Syntax Error
But line 5 refers to this: <link rel="Shortcut Icon" href="../favicon.ico" type="image/x-icon" />
Which isn't even javascript.In firefox, the drop down menus work in the black nav bar, but not in IE6, probably because of this JS error.The page's HTML validates, in case that helps.And to make things stranger, the page in IE6 works without an error when viewing the page on my local IIS web server. It only breaks when viewing the page remotely.
I have text box on a form that when I click on a image link button next to it, it loads a JS pop-up window with a list menu and I select an item from that menu and it closes the window and sets the value to what I chose form the menu in the text box from the parent window. I am using javascript to accomplish these tasks, but when I then try to go into the text box and edit the text after I set the value, once I do so and exit the text box with my cursor this error appears:
ERROR: 'window.NewWindow.document.test1' is null or not an object
anyone know what this might mean?
I made sure that I had the form, text box, menu and variable for the script named correctly so I know it's not my naming conventions.
form name = test1
list menu name = Times1
text box name = plannedTime
This is the error I get when I try to download a file from Rapidshare.
ERROR: Please enable JavaScript.
I uninstalled and reinstalled Sun JDK 6.0. Sill the problem persists.
The problem is generic now. For instance I cannot use the collapse /
expnad links at the top of this post. I have also enabled all
scritping options in my browser (IE 7.0).
Can anyone hepl me in this regard?
When I try to change a thumbnail picture to a large one on a particular web
site, it will not change as it did a week or so ago, and I get a message at
the bottom of the web page that says "javascript error on page". Being an
80 yr old member of the CIA (Computer Illiterates of America), I am befuddled.
What have I done and what do I need to do to correct this problem.
Anyway, I'm having a problem with some new pages I am creating for the Web
site at www.weaverdevore.ca and I am wondering if anyone here might be able
to help. Here is a full description of the problem:
I keep getting a JavaScript error that occurs when I try to re-open a closed
popup window after it has been opened once with a javascript call. The
message reads:
The callee (server [not server application]) is not available and
disappeared; all connections are invalid. The call did not execute.
To see this error reproduced, go to www.weaverdevore.ca/?main2 (This is the
temp page I am testing on until it works. Please ignore the page not found
error in the bottom frame.)
Scroll down past the Flash advertisement to find a link labelled "Fraud
Protection Policy." It will open the first time you click on it, but after
closing it once it will produce this error and won't open it again. If you
click on one of products displayed even further down, you will see that
their popup works fine over and over. Also, if you click on any of the other
links that use popups they can all be opened again and again without error.
I tried duplicating popup pages that were working just fine and editing them
to the new format, and still the same thing. The new popup windows I want to
use for the site will be frames pages with a footer frame with print and
close buttons and an info display frame above them. I have tried standard
frames, as well as an inline frame (as the product view window uses). All
produce the same error as a result. I tried making the close button a
"submit" button and the form action a "javascript:parent.close()". I also
tried making the form action "NULL" and using an
onClick="javascript:parent.close()" and still the same error. I duplicated
the product information screen, changed it by modifying the buttons (which
are standard HTML image links, not form buttons) and even though the product
window works, this duplicated one produced the error. Here is the code I
made for the new popup:
function popupWin(name,addy,w,h) {
if ((w == 0) || (h == 0)) {
w = 750;
h = 500;
popupFile = "2";
}
else {
popupFile = "1";
}
LeftPosition = (screen.width) ? (screen.width - w)/2 : 0;
TopPosition = (screen.height) ? ((screen.height - h)/2)-50 : 0;
settings =
'width='+w+',height='+h+',top='+TopPosition+',left ='+LeftPosition+',status'
popupWin = window.open('http://www.weaverdevore.ca/main-pages/popup' +
popupFile + ".html?" + addy,name,settings);
}
This code is stashed in a .js file, but you can view all the other source
code of any of the pages with a right-click. I cannot see anything wrong
with my code, so if someone has any ideas I would appreciate if they could
please send me an email to teknocat@refundprocessors.com, even if the reply
is also posted here in the news group.
I have text input such as below. What I want is that when I press submit button if the Item Name is empty then I want the error text in red shown beside the text input. I am using php how can I achieve it?
PHP Code:
<td width="90%">
<input class="text" size=5 id="itemName" name="itemName" value="">
[code]....
When I use this little script to get a value in IE it works, but in FF nothing ...
alert(window.content_frame.document.getElementById('content_table').offsetHeig ht);
Whenever I try to call ...DataLabelsCollection.Add I get the error
"Invallid Parameter".
if((document.chsp.charts(0).Type==18) ||
(document.chsp.charts(0).Type==19) ||
(document.chsp.charts(0).Type==20) ||
(document.chsp.charts(0).Type==9001) ||
(document.chsp.charts(0).Type==9002))
{
var dls;
dls =
document.chsp.charts(0).SeriesCollection(1).DataLa belsCollection.Add();
dls.HasPercentage = 'True'
dls.HasValue = 'True'
}
I have some very strange problem on the Mac (OS-X) with the Safari
browser 1.0 (v85). Some information in my form was not filled in...
after I turned on debugging and checked the console it displayed some
error messages.
The messages displayed were like:
(event handler): value undefined (result of expression trim) is not
object. Cannot be called.
I have no idea what this means!!! Does anyone know where to find the
solution for this problem? The page works fine on Windows with IE (and
probably some more browsers).
The trim function is located in an exteral javascript file which is
referenced in the head of the html. Code:
I have a page with words within TH tags. When you put your mouse over the entire table, it is supposed to change an image source location to the one in the onmouseover as well as a block of text. I keep getting undefined errors though. I've been unsuccessful googling for the past hour for the proper syntax for accessing the span and image properties in mozilla. I tried adding document in front of each monument, mainimg, and maintxt without any luck. It has worked fine in IE6.....
View 1 Replies View RelatedI have a site which uses a javascript fullscreen popup window which launches from the splash page (as well as a standard browser version for those with non-compliant browsers). All works well on both Netscape and IE, but if you're using Opera and you click on the "All other browsers" version, you get both the browser version and the popup version. This will probably be very irritating to Opera users. Unfortunately, I can't just program the popup for Opera compliance as well because it won't do fullscreen - it nests under the ad/control bars. Could someone look at it in Opera and maybe suggest a solution? Opera users don't make up a lot of my user base but I really prefer to be Opera-compliant.
View 7 Replies View RelatedI'm using Firefox with the Firebug add-on and whenever I load my test page with the contact form, I receive this error message in Firebug:
$(form).getElementsByTagName is not a function
getElements([])prototype.js (line 1799)
initialize("contact_form", Object immediate=true)validation.js (line 88)
create()
I've got this to work before on other sites, but for some reason it's not working on this site and I just don't know why and I don't understand what the error is telling me.
I have recently set up a server certificate on a web site.
Under certain conditions I need to change the color of a html span
element.
I do this using the following javascript function called from the
onreset attribute of the form element.
function removeWarningMsg()
{
if (isIE) {
document.all.Warning.style.color = "<%=BACKGROUND_COLOUR%>";
}
return true;
}
This was working perfectly fine until I applied the server certificate
to the website. Now when executing this line of code the following error occurs:
Error: 'document.all.warning.style' is null or not an object.
Everything works fine with Opera and IE, but not with Mozilla 1.7.3 and
Firefox 1.0 PR. When I call a function previously defined inside another
function I've got "function is not defined". Why?
I've been invoking a javasript method from an applet using the
netscape.javascript.JSObject class.
All was working fine till I upgraded my JRE from 1.4.0 to 1.5
Now the method JSobject.getWindow(this) is returning an exception:
netscape.javascript.JSException
The javascript fails to call an embeded applet's function. In the javascript
console, it shows "Error XXXX is not a function". Following are some parts of my code.
if(parent.document.cpmApplet){
parent.document.getElementById('cpmApplet').refreshCPMApplet();
}
if(parent.BottomIframe.document.resultApplet){
parent.BottomIframe.document.getElementById('resultApplet').refreshTableApplet ();
}
Here parent.document.cpmApplet and parent.BottomIframe.document.resultApplet are valid since I loaded both the applets with the same name using <APPLET> tag for Netscape/Mozilla and OBJECT tag for Windows.
The issue is with Netscape and Mozilla on Unix platforms only. I would appreciate if anyone could help me to solve this.