jQuery Uncaught SyntaxError: Unexpected identifier

Can anyone please help me sort this out? I have a html form, I want to save data inside a list's <option> elements in order to execute a script when a use changes his selection. The code looks alright to me, but the browser always stops complaining a Uncaught SyntaxError: Unexpected ident ...

jQuery Chrome Uncaught SyntaxError

I've been breaking my head on this problem for a while, but I can'tfind the cause of this error in Google Chrome. So now I turn to thejQuery dev list in the hope that someone here has encountered thisproblem too (and perhaps knows a solution).The full error I get from Chrome is: 'Uncaugh ...

Unexpected token

Hello, I do not have a lot of experience with Java and my HTML skills have not been put to use in a few years. The problem that I am having is trying to call a .js from an IIS footer file. The script is<!-- Piwik --> <script type="text/javascript">var pkBaseURL = (("https: ...

jQuery Strange Syntax error error with all my browsers

Hi! I've got a strange error in al my browsers (chrome, safari, firefox) when loading a page I'm developing.The error says the following Uncaught SyntaxError: Unexpected token ILLEGALAnd the line where is giving me the error is the last one of the following code...ajaxSettings:{    ur ...

JSON.parse error

I have a problem now with secha touch. I dont know why because in other module it run but at recent module it die.I want to process a json response but Ext.decode() dont work. Ext.decode call JSON.parse().My ajax call send a request to a ASP.Net webservice and work well in other part of project. thi ...

How to refer an object in JSP expression?

Here is my code:<%@page contentType="text/html;charset=UTF-16"%><%@page import="java.util.*,com.company.web.util.*"%><%Page pageUtil = new Page( request, true );Column[] sampleCol = new Column[2];%><script type="text/javascript"><!--var EJBpar ...

db2 connect -> SQL0104N An unexpected token "!" was found following "<identifier>".

i am trying to connect to a DB2 8 database (JARMY1) on Win2k that i've established with a username of jason1 and a password of JAS0n1! (the complex pwd is due to network domain controller issues at my company).when i try to connect to the JARMY database via DB2 CLP as such, i get the following error ...

jQuery Unexpected token

I updated my jQuery to 1.5 but now I get a little warning in the Console of Firefox:Warnung: Unerwartetes Token im Attribut-Selektor: '!'.Quelldatei: http://localhost/Zeile: 0Warning: Unexpected Token in Attribute-Selctor. '!'.Source: http://localhost/Line: 0 ...

IBM][CLI Driver][DB2/NT] SQL0104N An unexpected token "SELECT" was found

[IBM][CLI Driver][DB2/NT] SQL0104N An unexpected token "SELECT" was found following "test AS". Expected tokens may include: "(". SQLSTATE=42601im getting the above error when i tried to execute the query belowCREATE TABLE testASSELECT'Zigma' Company,'ANY' IP,'ANY' Hostn ...

SQL0104N An unexpected token "END-OF-STATEMENT" was found following...

I am having problems creating a user defined function in DB2 9.5. I'm always getting the following error message : Quote: SQL0104N An unexpected token "END-OF-STATEMENT" was found following "ND IF; RETURN SELECT". Expected tokens may include: "<delim_semicolon> ". ...

SQL0104N An unexpected token "END-OF-STATEMENT"

I am creating a trigger from an example in SQL Reference Volume 2 IBM® DB2 Universal Database™ v8. I am using DB2 V9. Page No. 446CREATE TRIGGER RECORD_HISTORYAFTER UPDATE OF QUOTE ON CURRENTQUOTEREFERENCING NEW AS NEWQUOTEFOR EACH ROW MODE DB2SQLBEGIN ATOMICINSERT INTO QUOTEHISTORY VALUES (NEWQU ...

bash: syntax error near unexpected token `newline'

HI.....I'm new to linux and I've recentley installed JAD 1.0 (with KDE)I'm trying to get VSTi to run in Rosegarden. I followed the instructionsin the JAD wiki entry with dssi host. (With dssi-host - JackLab UserWiki)All good except last entry (in Konsole)jack@LAB:/usr/lib/dssi/dssi-vst>I get a sy ...

[IBM][CLI Driver][DB2/NT] SQL0104N An unexpected token "IS"

I am getting some issues while creating a table as well as Label on Table 1. LABEL ON TABLE WEBDEV.ADLLGIN 'ADL Login' It’s giving a below error IBMCLI DriverDB2/NT SQL0104N An unexpected token "TABLE" was found following "NAPSHOT FOR LABEL ON". Expected tokens may include: "JOIN". SQLSTATE=42601 ...

Getting SQL0104N An unexpected token "END-OF-STATEMENT Error

Could you please help me,I m getting below error msg while building SP in db2 .I m sure there is no issue in SP,for All SP failing with below error.ERROR: Create stored procedure returns -104.SPEGA00.E1SP_GET_OUT_COMM: 48: [IBM][CLI Driver][DB2/SUN] SQL0104N An unexpected token "END-OF-STATEMEN ...

Ubuntu bash: syntax error near unexpected token `newline'

all. I'm running Ubuntu Server and am having problems running a .sh script trying to build a Open GTS Server.the command is bin/initdb.sh -rootUser=<rootUser> -rootPass=<rootPass>The script is supposed to create a new mysql database. When i run the command i get..-bash: syntax error near ...

Oracle to DB2 Unexpected token (possible bug ?) "->"

list, migrating Oracle to DB2 we find this problem too: line 506 ---> vc_matricula := formatea_matricula(pc_matricula -> vcur_poliza_etica.matricula, SQL Error Code = -104Object Type = PACKAGE_BODYObject Name = PKG_SINCO_POL_ACT_ESPSchema = GIMS_C1_CPLine Num = 506Message = SQL0104N An unexpec ...

Unexpected token...can't see problem

again experts,Using oracle 9.2 and have the following package/stored procedure.CREATE OR REPLACE PACKAGE BODY Pack_Test_Info AS PROCEDURE p_Test_Info (results_cursor IN OUT CURSOR_TYPE) IS BEGIN OPEN results_cursor FOR SELECT FName, TRIM(SUBSTR(title, 0, INSTR(title, ',', 1)-1)) AS Test, Phone FROM ...

Ubuntu Trouble with bash script to move files: syntax error near unexpected token

I have a bunch of .html files in a folder that I want to move into a subfolder. So I wrote a simple script but it isn't working.I test it out first:davidmigl@davidmigl:~$ for FILE in *.html;do echo "${FILE}" "Notes_Enzymes/${FILE}";doneNotes_Enzymes.html Notes_Enzymes/Notes_Enzym ...

SQL0104N An unexpected token "@" was found

From the command editor, the following can be executed, but the explain generates SQL0104N An unexpected token "@" was found ... The statement termination caracter has been set to '@'.Regards,JMSELECT XMLQUERY ('declare default element namespace "http://posample.org"; for $d in $doc/customerinfo whe ...

SQL0104N An unexpected token "*" was found following "". Expected tokens

when I run my query, I get this error:SQL0104N An unexpected token "*" was found following "". Expected tokens may include: "FOR WITH FETCH ORDER UNION EXCEPT QUERYNO OPTIMIZE"Thanks for your help. WITH TMP_PERIOD AS (SELECT DATE_IDFROM SDRP.CDS00001_CALENDAR_DATE_TBLWHERE YEAR_NR = YEAR(DATE('2009- ...

Installing java bash: syntax error near unexpected token `1'

Hello, first post go easy on me...Ok I am running redhat 9 and I am brand new to Linux...but I already like it better than windows. I'm attempting to get all the plugins for Mozilla, I managed to get flash installed now I'm stuck on java.I downloaded j2re-1_4_2_01-linux-i586.bin from the java websit ...

Ubuntu error mssg: -bash: syntax error...unexpected token..

(SOLVED)Got an error messagefull line:-bash: syntax error near unexpected token 'newline'what can be done? what does it mean? why is it there?Noob ...

Unexpected Token: Reading XML

I am working on a project that will read in a huge file and insert the data into a SQL database. I can read the document, but all of the XML is incorrect. I get it as an excel spreadsheet, but it's actually about 6 webpages stuck into one document, and it opens as a webpage in IE. Getting the docume ...

syntax error near unexpected token 'm4'

I am installing package acl-2.2.49.tar.gz i have followed all installation steps... but while i do ./configureit gives me error stating :./configure :1385: syntax error near unexpected token 'm4'./configure :1385: 'AC_CONFIG_MACRO_DIR(m4)'please give the solution ,i have tryed a lot over it.. ...

shell scripting problem syntax error near unexpected token

I cannot for the life of me figure this out. It was all running fine until i added another while loop for the directory part, same as the first one. Then i removed the loop and started getting this error.syntax error near unexpected token `fi'I have an assignment to write a script to where the user ...

Syntax error near unexpected token fi

everyone, I am having trouble executing a scriptWhen I try to, I get this: Line 31: Syntax error near unexpected token fi Line 31: fiCode: ...

syntax error near unexpected token

I cannot for the life of me figure this out. It was all running fine until i added another while loop for the directory part, same as the first one. Then i removed the loop and started getting this error.syntax error near unexpected token `fi'I have an assignment to write a script to where the user ...

syntax error near unexpected token done

i am a newbie in bash scripting i wrote a 5 line code and am getting an error as follows: "syntax error near unexpected token done"heres the code Code: ...

unexpected token done

my while loop shows this error...pls help me...urgent.unexpected token donefor ((i=1; i<=n; i++)) dov=${A[$i]}j=` expr $i - 1`while [ $j -ge 0 ] dowhile [ ${A[$j]} -gt $v ] doc=` expr $j + 1`A[$c]=${A[$j]}j=` expr $j - 1`donedoned=` expr $j + 1`A[$d]=$vdone ...

Ubuntu Trying to run a bash script, failing miserably: syntax error near unexpected token

Ok, so I thought I'd make myself a bash script of sorts to download movie trailers, from a file where I manually dump the URL of each file on a separate line:file 'trailerlist':http://trailers.apple.com/movies/independent/bandbaajabaaraat/bandbaajabaaraat-tlr1_h640w.movhttp://trailers.apple.com/movi ...

Cannot resolve SyntaxError: unexpected EOF while parsing

I found this code in a thread from about 18 months ago in a post by 'woooee' -def func_1():print " func_1 test"def func_2():print " func_2 test"def func_3():print " func_3 test"def func_4():print " func_4 test"##------------------------------------------------ ...

Ubuntu ERROR --bash: syntax error near unexpected token `2 --

First of all welcome The following problem occurs to me, I'm creating a distribution (as a class project) for my school (I'm studying telecommunications and computer systems). I am following, in order to create the distribution, the manual that you can find on this page: http://lpmagazine.org/es/mag ...

Ubuntu syntax error near unexpected token 'do'

I'm trying to create symbolic links for an oracle installation on ubuntu server 8.04 and i typed this command:for i in 0 1 2 3 4 5 6 S ; do ln -s /etc/rc$i.d /etc/rc.d/rc$i.d ; doneand i have the following error-bash: syntax error near unexpected token 'do'. what m i doing wrong? pls i need urgent h ...

Ubuntu mplayer bash: syntax error near unexpected token `)'

Hi. If using Mplayer or Totem plugins in Firefox it will not play the content. So can someone please tell me why I get this when using Mplayer or totem gstream in the shell. But if using the xine-plugin in Firefox it works just finemplayer http://anytime.tv4.se/webtv/metafile.asx?MSG=tT)2GSWzqR7xXzL ...

Ubuntu devilspie unexpected token encountered problem

So I'm trying to run Devilspie. I want to set it so that gaim starts up automatically in workspace #2.I make the .ds file, and put it in /home/<user>/.devilspie like the instructions say.however when I go to a terminal and run devilspie, I get:Cannot parse /home/silverace99/.devilspie/gaim.ds: ...

Ubuntu Cannot get the system to work at all: syntax error near unexpected token

I have completely lost my Ubuntu. I cannot get it to work even after a fresh install, because the home partition seems to have the same FS problem than the root FS did.First, fsck fails. Manual fsck will not work, but I could do a thing likee2fsck -b 8193 <sda4> and the answer was:syntax error ...

Ubuntu bash: syntax error near unexpected token `('

Hello, I seem to have run into another problem :PEver since my move to Linux, I've been learning how to use the console to do almost everything ( cause its fun :D ). Using the console, I copied a whole directiry to my desktop. And the permission setting didnt allow anyone to write the folder OR the ...

Ubuntu Java programs and desktop effects: "lexical error or unexpected token"

I upgraded to Ubuntu 7.10 and enabled compiz effects.When i try to execute a Java util that i use for working (Sonic Management Console, run on Sun JVM 1.5) it doesn't display any botton nor tabs, just opens an empty grey window. On the console output i have the following error displayed:/usr/share/ ...

Ubuntu bash: syntax error near unexpected token `['

I am practicing using bash on ubuntu system. I typed in following command on command line and got following error message. Could anyone tell me why?> for $index ( a b c) ; do echo '$index'; donebash: syntax error near unexpected token `('here, I really could not understand why it could not work. ...

Ubuntu Bash - syntax error near unexpected token `elif'

i am learning bash, and i made this program just for a little project#!/bin/bashread -p "Hello, I'm Yooten. I am programmed to greet you and give you a few options in a friendly manner. What is your name? " name;function tehstart {echo What would you like to do today?options = "ListFi ...

Ubuntu syntax error near unexpected token `else'

I am a noob trying to write a script. I took a Visual Basic class at my high school and now I am taking c++ so I know a little about programming. What I want to do is make a script that will compile a source code that I download through a svn. The program is filezilla. This is my first time ever try ...

Ubuntu Bash error &amp;quot;unexpected token `}'&amp;quot;

Now I've ran into this error time and time again, but never have I been so stuck.I have a small script (~500 lines) and I've just changed it around to read all of the functions and THEN call them instead of having function/call, function/call, function/call, etc.I've done some searching around and I ...

Ubuntu bash: syntax error near unexpected token

I'm trying to upload a library packaged called GenABEL, which I have installed in its own directory. I keep getting this bash: syntax error message though. Any ideas?This is the code I'm using:library (GenABLE)and the error message I get:bash: syntax error near unexpected token 'GenABLE'I'm running ...

An unexpected token "pkg_Deduction_Status" was found following "CREATE PAC

I am new to DB2 but have worked with ORACLE. I am trying to delpy a Package using DB2 Data Studio btu I keep on getting the following message. I am not sure if this is related to the DB2 connectivity driver, DB2 Data Studio or the DB2 database itself. Can someone help?Error Message:RunningKAA.PKG_DE ...

Ubuntu Syntax error near unexpected token 'elif'

Hi, my friend and I are working on a private server running on 10.04 and when we run the linux_installer.sh we get the error:linux_installer.sh: line 77: syntax error near unexpected token 'elif'linux_installer.sh: line 77: ' elif [ "${option}" = "b" ]; then'Here is the original ...

jQuery.parseJSON parsing error with my JSON request?

Hello, i'm trying to get a JSON-request from this API: http://bfbcs.com/apiFollowing the Exampe "http://api.bfbcs.com/api/pc?players=1ApRiL,ContraViZe&fields=general" is working fine with the Firefox Add-on JSONView and I can even see the response in Firebug with this call:$.getJSON('http://api. ...

jQuery setting '-webkit-user-select: none;' for css style doesn't work

Are there limitation on what can be set for css styles?I have a script which sets a unique id but I wanted to turn user-select off for that item. I thought this would work:     var id = 'wrapper_'+(new Date().getTime());     var wrapper = $('<div id='+id+' ...

Help with arrays

Hi. I am fairly new to JavaScript.I am having some troubles with arrays.I am using Chrome 12 beta.Here is a brief version of the code I am having trouble withvar array=new Array()array[0]=new Array()array[0][1]=new Array()var array[0][1]=[3, 1, 4, 1, 5, 9, 2, 6, 5, ...];I do not want to use "ar ...

js problem

I'm working with this form which has js calendar. unfortunately, I can't get the calendar to work onclick. It produces the following error:Uncaught SyntaxError: Unexpected token can't make out the error. Not sure if this is related to another onclick function. Here is the actual code:<form name=' ...

jQuery $.getJSON problem

Hi, I ran into a problem with this piece of code:$('#your_songs').live('click', function(){ alert('1'); $.getJSON('yourSongs.php', function(data) { alert('2'); alert(data.links);when I click my button it alerts '1' then it throws an error = Uncaught SyntaxError: Unexpected token :(in crome) ...