Debug In Classic Asp Pages?
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
ADVERTISEMENT
Oct 17, 2010
Basically I am putting together a registration form for my site using, ASP, Javascript/AJAX, jQuery.
I can't find any reference to using the Validation Plugin and ASP anywhere. Here is what I have so far.
jQuery validation:
<script type="text/javascript">
$(document).ready(function(){
$("#frmRegister").validate({
[Code]...
View 11 Replies
View Related
Mar 8, 2010
I'm using jquery to pass trough data to another page where I want to insert and delete a record. But the problem is that jquery only inserts or deletes the records and not both together. I use following code:
For jquery:
$(document).ready(function(){
$("#btnAddPayment").click(payment);
});
//example 1
function payment(){
$.ajax({
type:"POST",
url: "acceptPaymentExecute.asp",
dataType: "application/x-www-form-urlencoded", .....
objRS = objConn.execute(strInsertPayment)
objRS = objConn.execute(strDeleteMemberPayment)
objRS.close()
set objRS = nothing
objConn.close()
set objConn = nothing
The queries work but not together. If I comment the insert statement, my page executes the delete statement. I already tried to call another object for my delete statement but it does the same.
View 4 Replies
View Related
Jul 23, 2005
I want to use a select object in asp and have the user pick
something from this select and have javascript open a window fired by
an event. Once the new window is open it displays another select with
data based on what was picked in the first window. Once a choice is
made in the second window, it allow users to click a submit button and
pass back the chosen value to the calling window. Code:
View 1 Replies
View Related
Dec 16, 2010
I'm trying to convert a html form to use jQuery. The submit asp page works just fine via standard html post. Yet I can't figure out how to use jQuery
//dataString = data from the form
$.ajax({
type:'POST',
dataType: "application/x-www-form-urlencoded",
[Code]....
View 8 Replies
View Related
Jun 25, 2011
I found this post: [URL] It explains exactly what I want to do. The person who had the problem seemed to have sorted it out but as my knowledge is not to great I am not to sure what he is getting at. I tried various things but to no avail. All I want to do is return data to a calling javascript using type get and datatype jsonp. If I simply Response.Write "[(""id"": ""123""}]" then nothing happens. So whatever the thread I revered to above is doing it seems to be going in the right direction.
View 6 Replies
View Related
Jul 18, 2011
I have an application that is using Classic ASP, SQL server and cookies. But unless the user goes all the way through the application and the details are removed, they stay in the database.
How can I detect when they close the browser or move away to another web url. I have several pages in my app, so I dont want any unload event firing when I change pages.
Only when I move to another website completely or close the browser.
All the code I've seen on the net so far will fire if i change url's. Oh and I need to be able to access the Session's data in order to remove it from the database.
View 1 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
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
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 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
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
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
Sep 27, 2009
I coded the following JavaScript:
var el = document.createElement("iframe");
el.setAttribute('id', 'ifrm');
document.body.appendChild(el);
el.setAttribute('height', 250);
[Code].....
And am putting it between <script type="text/javascript"> and </script> tags in the <body> section of my site. But, it only works in certain areas of the page.
View 6 Replies
View Related
Jul 19, 2011
How to link two html pages? If we use <a> then what do wr give value to href?
View 3 Replies
View Related
Dec 24, 2006
i find some web sites show different pages by user's click on the different
headers.
most important is the client browser does not reload from the remote server.
may i know have some info / basic operation on it?
View 2 Replies
View Related
Aug 8, 2011
I'm working on a slideshowish type thing using jqm & player, and I'm having trouble solving what seems like it should be a simple problem. I'm using virtual pages, and a javascript object as a script to build the pages programmatically -
[Code]...
If I'm correct that there is no way to get i+1 inside of an $each(collection, function (i, item){} through i + 1 (well, I know that doesn't work - if i is "T1" then i+1=T11), or i.next or something, is there an elegant way to get the next iterator? Something like i.parent.nextChild or something? Should this be in the getting started forum?
View 3 Replies
View Related
Mar 7, 2009
You know when you have a menu on a page, and have.. let's say.. a 100 other pages.
Say the menu is like this:
Now: you want to add a page to this menu. Instead of adding a page to every single menu, could you have (earlier) edited in this:
Or wouldn't this work?
I asked about how to do this in another place once, and got a reply about using 'PHP inputs', but I'm using tutorials for JavaScript now, and it seems like this would do it. Would it work?
View 3 Replies
View Related