Debug Error From Script Coding?
Jan 7, 2010
I have to debug the error for eleave system for a company. when i do the testing i define that having an extra day for the service length at the system. i don't want you to settle the problem for me, just tell me where can i find the source to know where is the problem? at least i know where the souce it, so i can repair it.
View 1 Replies
ADVERTISEMENT
Sep 11, 2010
I keep getting a syntax error on line 3 and 4 of this very simple script. Normally firebug would give me enough info to fix this but jQuery escapes me. I can see no reason for the errors.
<script type="text/javascript">
$(".shipping-switch[name='shipping_switch']").click(function(){
var selector = "div#sub-address";
if($(this).val() === "1"){
$(selector).slideDown("fast");
} else {
$(selector).slideUp("fast");
}});
</script>
View 2 Replies
View Related
May 20, 2011
I am trying to make a canvas element display an image with some text on using canvas.drawImage and canvas.fillText. Only problem is my code is generating a very odd and hard to debug error.
View 2 Replies
View Related
Oct 7, 2009
On my blog, www.finkfinance.com, it loads but with the filing Javascript error code...
Does anyone know how I can fix this? I'm not a web coder and I'm lost when I open up the stepcaraousel.js file.
View 4 Replies
View Related
Jul 23, 2005
What is the best way to debug javascripts? Do it in Visual Interdev? Or just look at if any errors come from browsers.
View 2 Replies
View Related
Jul 23, 2005
I know this has to be easy, but I can't seem to figure it out. I'm debuggin' someone elses code...
x="hello";
+x+"world"
....and I don't get it! What does the "+x+"world" do? If I alert(x) the only thing that comes out is "hello". I also wondered why it doesn't error without the ";" at the end of the line.
View 3 Replies
View Related
Aug 3, 2005
When you write html or css then the validation proces is a good way of
finding errors. I get some syntax error / code: 0 errors in IE, how can
I figure out what the problem is. The thing is - it works - but it does
not look good when IE says the page is done with errors...
View 4 Replies
View Related
Sep 29, 2005
Is there any way to debug javascript in a web application? When I
develop JSP pages, and it has the javascript code in it. The problem is
the debugger in Java IDE (WSAD in my case) can only debug Java code but
not Javascript code.
What should I do to debug javascript code?
View 2 Replies
View Related
Nov 21, 2011
Can I debugge Javascript code to see which values take my variables?
If so, How can I do it.
View 13 Replies
View Related
Dec 2, 2007
debugging the calculate function
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!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">
[code]....
View 2 Replies
View Related
Mar 6, 2010
I just started a job doing classic asp and only have experiance with asp.net and no java scrpt
How can i debug javascript in classic asp pages?
i have no clue so If you know, please give baby steps that are idiot proof :thumbsup:
View 3 Replies
View Related
Nov 14, 2005
I'm learning to make JS files and using the tutorials, but I only get a blank screen. Can you tell me what I'm doing wrong. Code:
View 5 Replies
View Related
Jan 22, 2011
I have a couple of problems with my site related to javascript
These areas of the site use jquery and they work fine in Firefox and Chrome but not in IE
First problem is related to tablesorter and pager (jquery plugins) that give a properly paginated list of members in Firefox but gives all the returned members in one big list using IE (and usually a complaint that 'this script is taking too long' as well)
The other problem is related to the member search age, it has these expandable areas where the user can select further search criteria - they use jquery 'slider' to reveal the collapsed areas, again this works fine in Firefox or Chrome but looks messy in IE
To compound the problem the only javascript debugger I have is a plugin for Firefox called Venkman which I find pretty useful to find problems with AJAX etc, but seeing as the jquery/javascript stuff works OK in Firefox it's difficult to fix what isn't wrong there!
So really, how do I go about even beginning to understand these problems so I can fix them?
View 9 Replies
View Related
Feb 13, 2011
what i want this to do is take the x_cityid and add it to teh hidden field with the id of citiesid (I will do an ajax call before this but my simple javascript is not working)what am i doing wrong?
function addtocitylist() {
var x_cityid = document.getElementById('x_cityid');
var x_areaid = document.getElementById('x_areaid');
[code]....
View 22 Replies
View Related
Aug 19, 2010
I have a piece of code that I dynamically load using globalEval(). But I am not able to debug this piece of code, specifically in IE, even when I place a "debugger;" statement.
View 3 Replies
View Related
Mar 8, 2009
How can I debug JavaScript and use intellicence in JavaScript in Microsoft Visual Studio 2005.
View 1 Replies
View Related
Dec 27, 2009
I have a nice search engine but its seems i can't put it twice on the same page:
<script language="JavaScript">
function startSearch(){
searchString = document.searchForm.searchText.value;
if(searchString != ""){
searchEngine = document.searchForm.whichEngine.selectedIndex + 1;
finalSearchString = "";
if(searchEngine == 1){
finalSearchString = "[URL]" + searchString;
} .....
How to put the code twice in the html page without creating a conflict as a result of identical codes?
View 4 Replies
View Related
Jul 13, 2011
I'm currently modifying a php controlled website and wish to distinguish between javascript and non-javascript browsers in order to decide which pages to display. I have a single php controller script which "includes" a number of html pages. I want to ensure that I cater for both javascript and non-javascript browsers (so functionality is the same, only the javascript pages have a far better look and feel to them).
Therefore I would like to code something along the lines of :
Code:
if (javascript_browser=='true')
{
include './javascript_page1.html.php';
exit();
[Code].....
View 1 Replies
View Related
Jul 23, 2005
Can anyone recommend a good editor for coding Javascript?? ie. once which
has 'intellisense' type prompting etc.
If there isn't an editor with this built-in, is there a program which does
it as a quick-ref help tool??
View 1 Replies
View Related
Jul 20, 2005
Firstly it generates two numbers. One is the sum of the CharCodes and
the other is the product of multiply each of the charcodes together
and usisng the Modulus function.
If the text string is correct, the string is then used to decode (via
a relatively simple crypt) another string, which then gives you the
correct target url.
I hope that makes sense - if it doesn't, its pretty unimportant as the
question I have is as follows :
In javascript, how do I code something that allows me to cycle through
all the possible text strings. Ideally, I would like to read from a
dictionary file and then start a brute force.
Throughout each cycle, I imagine you just set input_user (in this
case) to the value of the next line in the file. For a dictionary
attack I imagine. That bit isn't too tricky I don't think but I can't
get my head around it. Maybe more coffee would help?
And I'm sure struggling to put together a brute forcer so I turn to
you guys and gals to ask if you could help me and point me in the
right direction on how to code this.
I'm assuming also that the code we end up with, would be generically
useful too as in we could vary the output (going to input_user) in
this instance to another variable and use it with another script?
View 10 Replies
View Related
Jul 1, 2009
This is a FAQ page I built with custom jquery function that toggles the answers open/closed on click of a question, and Im just wondering if anyone has a suggestion to make the code leaner and meaner:
[Code]...
View 1 Replies
View Related
Mar 13, 2006
I need advice about creating an order form (I was sent here from the General Web Building forum!) and I have been told that JavaScript is the way to go - can anybody help with the following (I know nothing about Javascript really).
I have an order form and plan to have the data emailed to me (I have FormMail script installed on my server). The form will have the following fields:
Reference Number
Size / Cost
Quantity
Grand Total
Clients will enter the ref no., choose a size/ cost (radio-button), and quantity (text box). I plan to accept details for about different items. I just want the total cost to be displayed in a box at the bottom before the form data is sent to me.
Can anybody point me in the right direction of how I might go about this? Tutorials / sample code etc.
View 8 Replies
View Related
Feb 6, 2011
I've created a website for a client for their business, and the javascript is working in Safari & Mozilla, but not in IE. In IE you can click the image, but nothing activates. The ability to move from left to right to view images still works however. I'm wondering if having both of the javascript capabilities is fighting with the IE browser?I would love to hear of a solution - I'm not an expert in Javascript by any means.
View 3 Replies
View Related
Jun 9, 2009
Just wondering if someone can point me where I can get the coding for the same style navigation on [URL]..I know its not flash, but I'm guessing its done by javascript?
View 1 Replies
View Related
Feb 28, 2011
What is the secrets or tricks of coding an enlarge thumbnail code? This is what I came out with so far...
<script language="JavaScript">
function enlarge(target)
{
[code]...
I would like to do the enlarging effect like this,[URL]
View 2 Replies
View Related
Sep 22, 2011
Coding of java script coding for watch implementation in our website.....
View 1 Replies
View Related