17,115 Topics
![]() | |
Help me to show the jquery confirm box. If I move the tags out of content panel it works well. http://www.clientsideasp.net/2009/06/16/showing-beautiful-message-boxes-in-aspnet-web-forms-using-jquery-impromptu/ By using the above site I wrote the code. But I use Ajax. Protected Sub babubabu_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles babubabu.Click 'If IsValid Then 'The … | |
I am aware that JavaScript arithmetic does not handle either really large numbers or decimals well. This is why I have made this library of functions. I am posting it here rather than under "code snippets" because I would like to learn from your comments. Along with the library is … | |
Folks....can u tell me how to pass an argument to the Javascript function written in source thru Code behind...?? here is my code: [Code] <head runat="server"> <title>Untitled Page</title> <script type="text/javascript"> function message(name) { alert("Hello" + name) } </script> </head> [/Code] In my code behind file : [CODE] btnok.Attributes.Add("Onclick", "message();"); // … | |
Hey guys, im having the weirdest problem with my ajax!! below is the function that is called when ever a if statement evaluates to true. Anyway the problem im having is that this if statement [code] if(xmlHttp.readyState == 4) [/code] with in the ajax functions runs when readyState is equal … | |
I am trying to code a webpage that does the following: Listens for user key presses in an input box and dynamically writes them below the input box in a textarea. Any help? | |
I had problem with mouse out in div. i tried for one long day in vain. can any one do it. it was an urgent issue.Thank you in advance. the code is <!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"> <head> <title>The test</title> </head> <script type="text/javascript"> function changeStyle(div) … | |
[url]http://www.swell.com/Guys-Shoes[/url] At this site (address) when the onmouseover event is fired it zooms in automatically to a closeup of the shoe. What technology is this? It's also used when you click on the shoe, i.e. [url]http://www.swell.com/Guys-Shoes/ZOOM-CUSH-WAKE-SHOE?cs=BR[/url] and the user clicks on the image of the shoe and it is displayed … | |
The minimal AJAX script below works in Firefox, but not in IE, Opera, or Chrome. I could use some suggestions or referrals to resources that will help me get the script working in other browsers. Before there are six characters entered in the CAPTCHA code field, the 'Send' button is … | |
Hi All, I have a PHP code for Sending http post from cURL. it work fine but i have a trouble that when i am send any data from loop it display me only first string the remaining string it not print. I am Use this Code. [ICODE]<html> <head> <meta … | |
The script works just fine in IE, problems occur in FF. [code=javascript] <script language="JavaScript" type="text/javascript"> var counter = 0; window.onload = ajaxFunction; function ajaxFunction(nr){ var ajaxRequest; try{ // Opera 8.0+, Firefox, Safari ajaxRequest = new XMLHttpRequest(); } catch (e){ // Internet Explorer Browsers try{ ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch … | |
Hi there, I'm busy trying to build an interface where users can create a sort of collage with images that they upload. I know it is possible to get the position of a DHTML element relative to the screen, the problem is I need the coordinates relative to a main … | |
Does anyone know where I can find a complete list of DOM/DHTML event types documented? I'm trying to learn more about advanced event handling in JavaScript and I'd like to find lists of event types that I can attach/add event listeners to. I've been searching around and I've found a … | |
I'm a newbie in programming. I spent few hours yesterday and today working on a small AJAX page with multiple combo boxes that are populated from the database. I use IE6 99% of the time and I utilize the excellent . I almost done with the page (I’m pretty proud … | |
Hello, my name is Leo and I need to know if i can use ajax to do the following i connect my mobile to my computer. i launch an app on my computer. i enter my login info. i click connect and i see "Connecting..." <= What happens is that … | |
[url]http://www.palmer-realty.net/content/listdetail.html/89633726[/url] -If you click on the green "Virtual Tour" button in the middle of the page...it gives a error -This is working fine in Firefox there's s function if you view source : [code] function win_up(winurl, winname,w,h) { if (winname == null) winname = "calcs_win"; if (w == null) w … | |
Hi i would like to know what changes to do for the following script so that it appear in internet explorer,its displaying fine in firefox [CODE] <!--JavaScript Tag // Tag for network 580: Traceworks // Website: Traceworks Super Website45 // Page: Traceworks Super Webpage45 // Placement: df92bda0-8b80-4014-9e84-2322e48ccc3e (2165154) // created … | |
Hi, i am having Cakephp code like [CODE]<?php foreach ($viewfields as $r): if($r['Attribute']['type']=='radio') { ?> <script type="text/javascript"> jQuery.noConflict(); jQuery(document).ready(function($){ $("#"+<?=$r['Attribute']['id'];?>).each(function() { type= "<?=$r['Attribute']['type'];?>"; attribute_id="<?=$r['Attribute']['id'];?>"; if(type=="radio") { var ht = $.ajax({ type: "GET", url: "http://localhost/FormBuilder/index.php/forms/viewChoices/"+attribute_id, async: false }).responseText; var myObject = eval('(' + ht + ')'); var data = myObject;var j=0; … | |
Hi everyone. I am a novice at javascript and can't figure out the following: I have a table where the user can press an "add more" button which duplicates the row and displays it on the next line. I use this for my site to have the user input stock … | |
Sometimes I see great javascripts on the net, but the size is wrong for the space on my web page, either the javascript is too small or too big, it would be great if I could re scale it so that it would fit in the space I have available. … | |
Hi! I want to create something similar to [url]www.welcometothewall.com[/url], and im looking into the possibility to do this in Ajax. What i neet to have is a large background image that is bigger than the browserwindow, that will move when the mouse moves to the edges of the browser window. … | |
I want to integrate the Google Picasa web album into my website. I am currently trying to do it through an iframe which is failing because I want to cut off certain parts of the frame like the top which also cuts off the scrolling bar. So if anybody knows … | |
Hello, I found a lot of so called ajax (jquery) solutions to protect mailto's, but i found them still quite tricky. They used [mailto]test[at]domain[dot]com and then jquery to convert it to mailto:test@domain.com. But i don't think it's that safe. Now, what i want to do is to call a javascript … | |
Hello, I am currently trying to figure out some event stuff with Javascript. I have the page capturing all [I]onkeypress[/I] events by calling my function [I]keyPress[/I], and passing the event as an argument. The key presses get passed to a text field that I have on the page (even if … | |
I have several fields being updated for a parking structure... The client inputs the number of cars and can immediately see the percentage before updating the database.... The field names always change so I need the JavaScript to be able to pick up the unique field names calculate and place … | |
Hi to all, hope you all will be fine, I use a script to detect IE and Mozilla but the problem is when i run it in the firefox it won't work then i find out the name of navigator and it shows Netscape. How i detect Mozilla here is … | |
Hi I need to set the border width of a link when it is clicked. The link calls a javascript and so I need a way to identify which link has been clicked, hence the outline... i tried [code] this.style.borderWidth = 'thin'; [/code] but to no avail...?! I have already … | |
I did this site before Explorer 8 came out and I tested it on the latest version of all browser at that time and it worked... [url]http://watershot.com/[/url] but now on IE8 the menu are not appearing right, can anyone tell me whats the problem? | |
I have an anchor with a class name. When I click the anchor I want the class to change. When I click it again, I want it to change back. Simple, but I don't know JS. Thanks | |
hi, I am currently using an IFrame (in my jsp) to bring up a third party web content(ex.a payment page from [url]www.hsbc.com)[/url]. i want the external site to handle all the user actions (within the iframe). In this case I am unable to capture the errors or exception that the … | |
Hi everyone, hope someone can help. I'm very much a beginner in Javascript and 'ok' in html but just cannot get a new (picture) window to open in Firefox without the title and address bars (or anything else, just the image). IE shows just the title bar, with or without … | |
In the following I need/want to alter the field called "TopicBody" to align with the table that appears above it. No matter whether I tried div or span positioning but I cannot get it working correctly. Please tell me why. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> … | |
The bad guys of the IT business are always looking for the most effective ways to infect the innocent Internet user, and increasingly that means turning to commonly used web browser plug-ins such as Flash or PDF readers. A couple of years ago we were [URL="http://www.daniweb.com/blogs/entry1537.html"]reporting critical vulnerabilities[/URL] for all … | |
In another interesting development showing that open source truly has a place in corporate computing, Microsoft announced on Sunday that it will be adding the JQuery JavaScript library to ASP.NET. The move came after many ASP.NET developers requested similar features to those that JQuery provides. According to Scott Guthrie of … | |
If you’re a Ruby or Python developer building AJAX applications, you’ve got to learn JavaScript. Even if you’re converting Ruby code to client-side JavaScript with a tool like [URL= http://www.scribd.com/doc/220397/RJShow-it-works] RJS[/URL], it can still be helpful to know the AJAX component for adding features and debugging. Now Microsoft is promoting … | |
I am not an easily shockable person. Anyone who knows me, anyone who has seen me, will understand this. Indeed, other than the usual trio of sexual or racial abuse and mindless violence it takes a lot to drop my jaw in shame and despair while browsing the web. However, … | |
I would be prepared to bet alot of money (if there was somewhere to bet this) that 60%+ have got there homepage set as one of the Google sites. I also bet that 60%+ of them have got the google toolbar. So why do they? To be honest I can't … | |
It’s that time of the year again, and the Microsoft Tech.Ed Developers Conference 2006 Europe has hit the beautiful city of Barcelona, capital city of Catalonia in Spain. Hot off the press news for today is the keynote speech by Eric Rudder, senior vice president of technical strategy with Microsoft. … | |
How much money does Microsoft need? As much as possible would appear to be the answer, considering that it has announced a $1.50 fee to download the Office 2007 Beta as from August 2nd. Claiming a requirement to cover server costs as a result of the 3 million people that … | |
Good question, but the answer may not be as straightforward as the announcement this week by Microsoft, and the ongoing online media coverage, suggests. The impression given is that Microsoft is supporting the Open Document Format in Office 2007 by sponsoring an open source based translator. This will take documents … | |
Reports of the death of PDF support within Office 2007 and Vista are not only presumptuous but wrong. Despite the high profile publicity given to a spat between Adobe and Microsoft over the ‘Save as PDF’ function seen in the [URL="http://www.microsoft.com/office/preview/beta/getthebeta.mspx?showIntro=n"]Office 2007 Beta[/URL], there is no doubting that users will … | |
Most people have had experience of, or currently use Microsoft Office, either at work or home, but I would think most people would find it hard to spot the differences between Office 2000, XP, and 2003. Apart from updated aesthetics on the latter, not much has changed through the generations, … | |
1. Copy the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document --> [ICODE]<HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function ViewImage(ifile,ix,iy,ititle) { var win; var sWidth; … | |
This script will lists all available methods, properties, values, and types, supported inside your browser. This is useful when you are creating script and you want to see a full reference lists of methods supported on the browser that you are working on - then you can simply run the … | |
This is a javascript code to fix any element in any browser. Simply add "fixed" to the classes of the desired element. Examples: [icode] <div class="fixed">FIXED</div> <div class="someClass fixed">FIXED</div> [/icode] Though it's a little rough when scrolling I hope it will do the job. The way it works: - By … | |
A simple tool that provides easy navigation in your site using a Combo box. It lets you jump to different location on the Web and also included with text display, which provides short details about the site. If you have comments, suggestions or request — don't hesitate to post back … | |
[B]INTRODUCTION[/B] The W3C's [URL=http://www.w3.org/TR/Window]Window Object 1.0[/URL] specification (Working Draft dated 07 April 2006 at the time of writing) defines in it's [URL=http://www.w3.org/TR/Window/#location-attributes]Location Interface[/URL] section a set of attributes (or fragments) by which a Location object may be addressed. Despite the draft status of this document, many implementations of javascript have … | |
This script simply preload's images inside (x)HTML document. [b]<<<INSTRUCTION>>>[/b] — Simply attached these preloader.js in your document, were you want your images to be preloaded. — You can simply referenced it using [icode]<script type="text/javascript" src="path/preloader.js"></script>[/icode] block. — if you have any suggestions, comments or request, please feel free to post … | |
This script is capable of handling multiple iframes inside your page. Which allow you to specify [b]fixed[/b] [color=red]Width[/color]/[color=red]Height[/color] with your iframes' to ensure layout stability in your page and also it comes with an auto-fit feature. [b]<<<INSTRUCTION>>>[/b] — [color=green]The[/color] iframeFixer.js [color=green]must be included in your[/color] iframe page [color=green]including all pages … | |
Make regex creation easier! Enter regex, test string, select from various function to run, then see the output. | |
This version is more precise and accurate compared to my first posted version of this script. |
The End.