Hi,
I need a javascript validation library that validates different fields or controls (textBox, dropDownList, radioButton, ...) with different validation types ( empty field, wrong value, number of value , ... ).
Any recommendations?
...
I know this plugin exists because I've seen it some time ago. It has the functionality to pre-populate given form text fields with text if they are empty when they lose focus, but the text disappears if focus enters the field or the form get submitted. This functionality can be seen on www.pownce.com. Does anyone have an idea where I can...
Hi All,
I'm trying to convert Matt Berseth's 'YUI Style Yes/No Confirm Dialog' so I can use it with the jQuery blockUI plugin.
I have to admit I'm no CSS guru but I thought this would pretty easy even for me....except 10hrs later I'm at a loss as to why I can't get the blasted thing to work.
The problem is that I can't seem to get th...
I'm pretty new to developing AIR apps, so maybe this is a dumb question, but I can't seem to find any answers from google. Any help you can give me is greatly appreciated.
I'm building an AIR app with Ajax using an api that is identical to flickr's Api, with a shared secret key. The problem is that the air installation package contains ...
Does anyone know of a JS-based terminal client? Either something that initiates an SSH connection with a remote host or even something that simply communicates with a remote PHP script to execute commands and retrieve output. Does such a thing exist?
...
Hi friends,
Is it possible to get the value from first page to second page.. BUT with out FORM
Shall we use window.parent.document.getElementById("").value..
But this is working in popup window, but i need this for between two pages which redirecting from first page to second page.
...
When we write in a Javascript expression :
expression < <%=variableJsp%>
the double "<" seems to be a problem and the JSP is not interpreted ?
Is it a fault of the other servers that should not accept this type of expression ? Or WebSphere that bugs ?
...
I need to write a temporary Web-based graphical front-end for a custom server system. In this case performance and scalability aren't issues, since at most 10 people may check the system simultaneously. Also it should be PHP or Python (server) & JavaScript (client) (can't use Flex or Silverlight for very specific non-programming related ...
My Facebook application contains Javascript that works in Firefox and IE, but aborts in Chrome.
In the Javascript console it gives several errors.including:
Uncaught TypeError: Object onloadhooks has no method 'replace'
There are similar errors complaining about a missing method for 'toLowerCase'.
Stop Press Problem no longer occurs...
Is there any way to find out if the user pressed the delete key or dot? It has the same keycode in FireFox.
...
Hi,
I'm trying to find an editor (or some simple JavaScript - preferably jQuery) that will allow me to edit the contents of a textarea.
I don't want it to be rich text or WYSIWYG; I just want to be able to select a bit of text, click a button/link and have some simple HTML tags that I define put either side of the highlighted text. I a...
I need to display external resources loaded via cross domain requests and make sure to only display "save" content.
Could use Prototype's String#stripScripts to remove script blocks. But handlers such as onclick or onerror are still there.
Is there any library which can at least
strip script blocks,
kill DOM handlers,
remove black l...
I'm developing an invisible Java Applet, that will be controlled entirely from JavaScript.
I can call the applet's Java methods easily, and I can call JavaScript methods from within the applet by using netscape.javascript.JSObject.getWindow(this).call().
But in order to register a JavaScript callback in the applet, I guess I would need...
I'm attempting to register an anonymous function when a user clicks a cell in an HTML table. Here's some of the raw, unadulterated code:
document.getElementById(
"course"+displayed_year_index+occurrences_indices[displayed_year_index]).onclick =
eval("function() {PrintReceipt("+result.years[result_year_index].rul_code+");};"...
Before I ask my question, here's the offending code:
var coords = dojo.coords(g);
g.style.left = coords.x + "px";
g.style.top = coords.y + "px";
g.style.position = "absolute";
Now imagine that g is a relatively positioned element with an x position of 70 and a y position of 30. If I comment out the last line of the above code, that's...
Background
We have a web application in which several developers have written several .js files that manipulate the DOM and the problem of duplicate function names has crept into our application.
Question
Can anyone recommend a tool that will warn us when we accidentally write a web page with two javascript functions with the same nam...
How can I create a table that has its first row and first column both locked, as in Excel, when you activate 'freeze panes'? I need the table to both scroll horizontally and vertically (a lot of solutions for this exist, but only allow vertical scrolling).
So, when you scroll down in the table, the first row will stay put, since it wil...
Hello,
We have a Ruby on Rails app that uses some javascript in the views. Since we have good test coverage on the rest of the app, we want to continue that here. The js we use manipulates the DOM to show/hide divs and perform incremental searching for a combobox selecting from a table.
Does anyone know of ways to test DOM manipulati...
In javascript, I've got a block of HTML like this:
<h2>{title}</h2>
<p><a href="{url}">{content}</a></p>
And I'm trying use regex "match" to spit out an array of all the {item}'s. So my output should look like:
['title', 'url', 'content']
I've gotten as far as:
var pattern = new RegExp("\{[a-zA-Z]+\}+");
var match = pattern.exec("...
I am creating a joomla plugin and want to load an array of images after the page has loaded. To do that, I'm currently using mootools.js to call myserver URL, obtain the JSON response and parse the response into javascript variables that represent each image url. It works great, but mootools.js is appropriately named since it is a real...