IM NEW AT THIS AND I'M WORKING ON MY FIRST WEBSITE. I USED iWED AND I DON'T UNDERSTAND WHY IT WON'T WORK. WHENEVER I TRY TO OPEN IT IT SAYS: Parse error: syntax error, unexpected T_STRING in /home/a2460084/public_html/beto/index.html on line 1
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">[code].....
I'm new to jQuery and the validation plugin, I just wondered if it is possible to get the error messages to be shown in an error summary section instead of inline?
I am developing a web page . For this i am using Javascript embedded in html. In the application ,the user can input data via interfaces in the page which is chosen and read from a master xml file , the chosen data then needs to be stored and saved in a xml file.I have designed the web page in FrontPage.
Now the problem i face is while trying to save the output xml file i get error Permission Denied , error code 0 . This happens when i try to open the page in browser IE 6.0 SP2.I am using DOM parser methods for doing the xml manipulations/savings etc.urprisingly this works in another machine.Also can i use the all of the same javascript code if i want to run it in an IIS. Do i have to do some changes to make it server side javascript code.
I am working on a simple javascript craps game program. I need some advice since it won't display who the winner is, keep tally of who wins/loses, and the number of total games played. After using the error console there's an error with document.forms [0].thrower.value not being defined.
Site - [URL] Location of js and css - [URL] The jCarousel works great in all other browsers, but in IE, when you get to the end of the jCarousel it gives the "Error: 'url' is null or not an object" pop up and it won't let me use the left arrow buttons to go back.
I'm receiving the following error: Error: uncaught exception: Syntax error, unrecognized expression: # However all the functionality of the script continues to work, I need to get rid of the error as it looks pretty bad on client's sites and want to make sure the script isnt doing anything funny. The basic set up is a number of Select boxes, When selecting an option in the select boxes, I loop through a JSON stock array to see if the item is in stock and to then enable / disable the relevant options in the other selects based on the stock record. The error (as far as I can see) appears on this line: $("#option" + nextid + " option").filter(function(){
im trying to make a program that passes an array to a method. the method then finds the smallest number in the array and passes that number back to the main where its printed out. I am getting an error saying: "error: number cannot be resolved to a variable". I am using drjava. here is my code.
import java.util.*; public class homeWorkTwo{ public static void main(String[] args)[code].....
I have taken part of some code I know works and simply added a print statemet to it as I want it to print to the command prompt, where I am running the script, the value of REMOTEDIR why the addition of the print statement provides an error: ERROR: JScript runtime error: Object expected
I m loading PDF inside <object> tag by setting data=content.aspx where content.aspx returns byte stream for my PDF. Everything works fine in success, but if there is any error inside content page, I m nt able to handle or catch it in my JavaScript.
how to catch/handle error in js for error? This is critical for me, I request help from community.
I'm having a problem on a particular site I am working on.
The URL is [url]
The problem is that when I try to close the browser in IE on the main page I get an popup with an error which says: "An error has occured on the script on this page"
Do you want to continue running scripts on this page?
"Yes" or "No" (Buttons to Click)
I have to click the 'Yes' button about thirty times before the browser will finally close. Does anyone have any idea what this is?
i'm a newbie on jquery i'm studying it with the latest version, and following a book called "Learning Jquery" but iencountered a error, and i don't know what the problem is:
i copied the code from the book like this:$('a[@href^="mailto:"]').addClass('mailto'); to try to change the links which start with "mailto" to the new class "mailto" but there's a error reported: uncaught exception: Syntax error, unrecognized expression: [@href^="mailto:"]
I'm sorry it is not JAVA problem.But I have problem with my computer. When I did compile to my program in my PC there is error on my physical path of database ...
I have this JavaScript that is supposed to show random products from my database, and show something different every time you refresh or revisit. But I keep getting an error - on my computer - that says Syntax Error in Line 2.
There is no error on most other computers, and the products show, but another script on the page, an article title scroller, stops - on most computers, but not all. It says "no articles available".
I've tried the script on an asp page and a htm page, all by itself, but it still doesn't work. I tried changing all kinds of settings in my browsers, but nothing helps. I'm on XP, SP2, which I've heard has some problems handling javascripts. I don't know if that's true, but if it is, I know that lots of other people will have the same problem as me when they view the page. Actually, I think it is a good thing, that my computer is pointing out this error. I get the error message in IE6, but in NS8 and FF, I just don't see the products. No error message.
Anyway, here are the first three lines of the script:
<% if TRIM(request.servervariables("http_referer")) = "" then %>
Using spellcheck, I found that referer is spelled wrong, it should be referrer. I don't know if that is right for javascript (or asp?), but correcting it didn't make a difference.
The script is JavaScript on an asp page, and it is called in an htm page.
Can someone please illuminate to me why, in the following snippet of script, the alert statement in the try-catch gives me [object Error] ? The file 'http://localhost:1222/roomx1/getdata.php' truly does exist.
I am trying to submit a form when a non-submit button is clicked! I have: <input name="add_dev" type="button" value="Add Device" this.form.action='<?php echo $_SERVER['PHP_SELF']?>' this.form.submit();">
When I run it, it says: this.form.submit is not a function.
(I tired document.form_name.submit(), same thing).
I already have a "submit" button that submits the form to the file specified in "Action".
I have a try/catch statement on my webpage, in which a create som html. Sometimes this routine fails and the catch writes the error in an alert box. My problem is that the only
thing the error says is [object error] even though I write all the attributes in the Error object (name, number, description, message). How can I inspect further what has gone wrong?
I have an ASP page on an intranet IIS server that posts data via a System DSN to an Access DB, normally it works fine however sometimes it returns 0 for success but no data is added to the DB!?
Set conn = Server.CreateObject("ADODB.Connection") conn.Open "DSN=testmain" sql="Insert Into testtable (Survey_1,Survey_2) VALUES (" sql=sql & "'" & Request.Form("Survey_1") & "'," sql=sql & "'" & Request.Form("Survey_2") & "')" on error resume next conn.Execute sql,recaffected if err<>0 then Response.Write(" Survey NOT Added! ") else Response.Write("<h3>" & recaffected & " Survey Added </h3>") end if conn.close Set conn = Nothing %>
The above is cut down version as there are a lot of fields! Anyone know why it would return 0 sometimes but not add the data?
I have this annoying problem with netscape... I'm trying to access a form value by using getElementByID and in NS i end up with a null reference.
The following HTML is the form component that gives me headache: <form name='task' ...> .... <select name='prioritySelect' class='selectwidth'> <option value=''>Choose one</option> <option value=Ƈ'>Critical</option> <option value=ƈ'>High</option> <option value=Ɖ'>Medium</option> <option value=Ɗ'>Low</option> </select> .... </form>
And the related javascript code: if(document.getElementById("prioritySelect").disabled == false) { ... }
When digging into this I can get the desired information by using document.task.prioritySelect, but that should not be necessary, right?
I hope that anyone knows how to deal with this problem..