Need A Crash Course In Script For Exam Purposes
Dec 13, 2009I need to understand Javascript in the simplest, quickest possible way like ASAP.
This is my first time here, so I am not so sure how this work.
I need to understand Javascript in the simplest, quickest possible way like ASAP.
This is my first time here, so I am not so sure how this work.
I'm trying to walk a person through the registration process on my site. This is a total of 4 or 5 steps. I'm thinking about using the jQuery progress bar to go from like 25% when the user starts, 50% after the second page etc.
I'd like to do the calucation on what page they are on and then move the progress bar to show the progress. How can I alter the jQuery code to acheive this type of result? Also, is there anyway to animate the move from like 25 to 50%?
I am trying to get a dynamic table going. You click a button to add a
row. In the newly created row a button to delete the row is placed
(try the code example below). In Netscape, pressing the delete row
button crashes the browser. Why ? What is the correct way to do this ?
I am stumped why this following code works in IE and Opera but crashes
Netscape 7 (ie makes it disappear and try to send a bug report etc).
Any help would be much appreciated.
Copy and save the following code example and try running in Netscape 7
(or Mozilla 1.4) . It works fine in IE 6 and Opera 7. I've tried all
sorts of tweaking around but to no avail.
I need some expert help. Perhaps suggest the correct or other better
way of implementing this.
Here's the code:
My site works fine in Firefox, but it crashes in IE.
I am using alot of jQuery in order to fade in content. When the user clicks on one of the above links a few times, it will crash in IE.
Here is my site code...
I have absolutely no idea why the site crashes in IE. I don't even know where to begin to debug my problem. I don't have Visual Studio on my computer, but on my friends computer Visual Studio reads a message of An unhandled win32 exception occurred in iexplore.exe[####]
I'm writing some code so that my comments section automatically updates every 10 seconds. The code i wrote does update it but sends off about 40 request every 10 seconds until it eventually crashes the browser.
[Code]...
I'm having some trouble implementing a popup in firefox. I attached some
simplified code at the bottom. This is part of a firefox extension. What
happens is that a popup window is created, the popup window updates it's
data depending on what is shown on the main window. The problem comes when i
click the 'X' to close the popup window. it crashes firefox, and closes all
firefox windows. can somebody help me with this? why does this happen? I'm
99% sure the error comes from the form in the html code.
window.getNode = function (t)
{//stuff}
window.printNode = function (node)
{//stuff}
window.updateWindow = function (num, tag, inner) {
outputWindow.document.outputForm.nodeNum.value = num;
outputWindow.document.outputForm.nodeTag.value = tag;
outputWindow.document.outputForm.innerHTML.value = inner;
}
//popup
window.outputWindow = window.open('', 'outwindow', 'width=500,height=500');
//add contents to window
outputWindow.document.write("<html><body><form name='outputForm'>Node
number:<input type=text size=20 name='nodeNum' value=''><br>Node tag:<input
type=text size=10 name='nodeTag' value=''><br>Inner HTML:<input type=text
size=50 name='innerHTML' value=''></form></body></html>");
document.onmouseover = getNode;
I'm using window.open method in my script to open poup window. Recently
Internet Explorer users reported that the script crashes on their
machine with different runtime errors.
See the bug:
I have this table:CREATE TABLE IF NOT EXISTS Assignments (uid TEXT PRIMARY KEY ON CONFLICT REPLACE, instruction TEXT, start TEXT, stop TEXT, createdTimestamp TEXT, theTimestamp TEXT, taskID TEXT, resID TEXT, flowID TEXT, flowDefID TEXT, currentState TEXT, iconRef TEXT, colorRef TEXT, dispatched BOOLEAN, inStartState INTEGER, inStopState INTEGER, writeLock INTEGER, workItemID TEXT, companyID TEXT, metadata INTEGER)
The thing is that when making a insert and then going to the development toolbar in chrome and look at the storage tab and look at my table. Depending on what is in the table chrome crashes.I drop the table between the executions.The difference here is that "theTimestamp" is something rather then empty. If I set theTimestamp to '10/15/10 3:07 P' it works. But just adding that last M or any other letter will make chrome crash when you try to look at the table. Whether it is by navigating to the table with mouse clicks or writing a select * from Assignments statement.
The problem is, the extension tend to crash when there is no internet connection, and sometimes, the http requests fail to communicate with gmail server, they got built up over time and end up flooding the memory.
[Code]...
I am having some issues using jQuery multi-select, it works fine but really lags when I have multiple instances (can crash the browser in some cases) am using jQuery 1.3 & jQuery 1.7 as the demo (have tried updating to the newer versions but problems persists)
I am using the following [url]
Does anyone have any idea to speed this up, or an alternative plugin that works a little better?