tagged [javascript]

How can I pop-up a print dialog box using Javascript?

How can I pop-up a print dialog box using Javascript? I have a page with a "Print" link that takes the user to a printer-friendly page. The client wants a print dialog box to appear automatically when...

28 Oct at 03:42

create a balloon popup in taskbar using javascript

create a balloon popup in taskbar using javascript I need to create a function that will produce a balloon popup in the taskbar using javascript. Is it possible? Whats the shortest and easiest way to ...

30 Oct at 11:17

Passing Eval from ASPX to Javascript function as Parameter

Passing Eval from ASPX to Javascript function as Parameter Can Eval be passed as an argument to a javascript function? If so whats the syntax?

30 Oct at 12:20

Best way to read/set IE options?

Best way to read/set IE options? What is the best way to read and/or set Internet Explorer options from a web page in Javascript? I know that these are in registry settings. For example, I'm using the...

Using ASP.Net ajax library for cross browser Xml manipulation

Using ASP.Net ajax library for cross browser Xml manipulation I am currently updating a web app that uses ActiveX objects in client side code to manipulate some xml. Of course, this app only works in ...

31 Oct at 19:29

Sending emails with Javascript

Sending emails with Javascript This is a little confusing to explain, so bear with me here... I want to set up a system where a user can send templated emails via my website, except it's not actually ...

7 Nov at 03:44

Is there a version of JavaScript's String.indexOf() that allows for regular expressions?

Is there a version of JavaScript's String.indexOf() that allows for regular expressions? In javascript, is there an equivalent of String.indexOf() that takes a regular expression instead of a string f...

8 Nov at 15:19

Convert jquery slide effect to mootools

Convert jquery slide effect to mootools I have a script that slides a div down from behind the menu, when people click on the tab. However its in jquery and I want to use mootools (lots of reasons I w...

11 Nov at 08:7

How do I select text nodes with jQuery?

How do I select text nodes with jQuery? I would like to get all descendant text nodes of an element, as a jQuery collection. What is the best way to do that?

18 Nov at 13:45

Is it possible to hide the content of an asp.net master page, if page is opened as a popup?

Is it possible to hide the content of an asp.net master page, if page is opened as a popup? I have several aspx pages that can be opened either normally (full screen in browser), or called from anothe...

18 Nov at 17:11

JavaScript: Check if mouse button down?

JavaScript: Check if mouse button down? Is there a way to detect if a mouse button is currently down in JavaScript? I know about the "mousedown" event, but that's not what I need. Some time AFTER the ...

Is there an equivalent for var_dump (PHP) in Javascript?

Is there an equivalent for var_dump (PHP) in Javascript? We need to see what methods/fields an object has in Javascript.

27 Nov at 11:29

Why is it not advisable to use JavaScript in JSP?

Why is it not advisable to use JavaScript in JSP? Why is it not advisable to use JavaScript in JSP? One rationale that I can think of is turning off the feature in browser would stop the code from exe...

29 Nov at 08:30

Simple JavaScript problem: onClick confirm not preventing default action

Simple JavaScript problem: onClick confirm not preventing default action I'm making a simple remove link with an onClick event that brings up a confirm dialog. I want to confirm that the user wants to...

2 Dec at 21:32

Javascript + IMG tags = memory leak. Is there a better way to do this?

Javascript + IMG tags = memory leak. Is there a better way to do this? I've got a web page that's using jquery to receive some product information as people are looking at things and then displays the...

3 Dec at 06:23

Which CMS should I use to manage a small internet site without programming experiences?

Which CMS should I use to manage a small internet site without programming experiences? I'm looking for a CMS system to manage a simple and small website. The website will be made with pure HTML and s...

Close Parent window in fireFox

Close Parent window in fireFox Is it possible to close parent window in Firefox 2.0 using JavaScript. I have a parent page which opens another window, i need to close the parent window after say 10 se...

5 Dec at 12:59

Calling onclick on a radiobutton list using javascript

Calling onclick on a radiobutton list using javascript How do I call onclick on a radiobutton list using javascript?

12 Dec at 12:34

How to prevent IFRAME from redirecting top-level window

How to prevent IFRAME from redirecting top-level window Some websites have code to "break out" of `IFRAME` enclosures, meaning that if a page `A` is loaded as an `IFRAME` inside an parent page `P` som...

15 Dec at 19:50

htmlspecialchars and json encode problem

htmlspecialchars and json encode problem I am trying to format some bad html to output into a pop window. The html is stored in a field in a mysql database. I have been performing json_encode and html...

17 Dec at 10:15

How do I access query parameters in the request content body in javascript?

How do I access query parameters in the request content body in javascript? If I use a GET to request a page, then I can access any query parameters from javascript using window.location.search. Is th...

23 Dec at 01:33

Select values of checkbox group with jQuery

Select values of checkbox group with jQuery I'm using Zend_Form to output a set group of checkboxes: With a normal HTTP Post these values are passed as an array, but when I'm somewhat stumped on how t...

6 Jan at 14:35

How to add node into TreeView Control with Javascript

How to add node into TreeView Control with Javascript I just wanna learn how to add a node to TreeView control (which takes its data from database with a parent-child relationship). Of course when I s...

8 Jan at 17:36

CSS/Javascript to force html table row on a single line

CSS/Javascript to force html table row on a single line I have an HTML table that looks like this: ``` ------------------------------------------------- |Column 1 |Column 2 | -----------...

8 Jan at 23:24

Possible to add large amount of DOM nodes without browser choking?

Possible to add large amount of DOM nodes without browser choking? I have a webpage on my site that displays a table, reloads the XML source data every 10 seconds (with an XmlHttpRequest), and then up...

9 Jan at 20:2