Currently I've finish studying the book name "beginning javascript 3rd edition",so i just wonder what should be my next step in order to strengthen myself on using and manipulating this language?Besides,how to improve myself in programming in javascript??Is it by thinking something cool myself,and start coding it??Or googling around the ...
I want to enable comment posting on my page, so i need to execute some html encoding before post is sent and inserted into a database.
What is the ideal side for this?
Sever side(I work with asp.net) or client side (javascript)?
...
I have stored a bulk of objects in an ArrayList and I have set that in the request. Now I want to retrive the values in the Arraylist from my java script. Please help me with the solution
...
I've written a plugin for wordpress and I want to use a slider on my page. In it's most basic form (now) to test, I have the for the slider on my page
<div id="wpge-slider"></div>
then in the plugin, I have my init action
add_action('init', 'wpge_init' );
function wpge_init() {
wp_enqueue_script('jquery');
wp_enqueue_script...
i have a textbox, i need to enter only alphabet in the starting of textbox.. no integers, no special characters.... what should i do?
...
Summary:
I want to know if it is possible to do something like this:
{a: 'A',b: this.a}
...by using some other pointer like {a: 'A',b: self.a} or {a: 'A',b: own.a} or anything else...
Full question:
I'm trying to extend MyBaseModule using Ext.extend, and need to cross-reference values in the extension object passed to Ext.extend()....
Heya,
I have just implemented the excellent jQuery UI autocomplete.
http://jqueryui.com/demos/autocomplete/
There is a strange bug in IE 8 (and maybe other versions).
When you select an item from the box of suggestions in IE 8 the cursor moves to the begining of the textbox before the suggested word which has just been inserted.
F...
I want to embed Javascript in my own application. I know I can do this with all the open source Javascript engines like V8, TraceMonkey/SpiderMonkey. But, scanning through the source code learning how to embed them is not easy given most are not well documented. Is there anything native in Windows? Is the JScript engine already been ...
Hi there,
I have a combobox and a gridview. What i want to do is, according to combobox selection, one control of the gridview has to change. I tried to do it clientsideevents but couldn't find the right source.
Thanks
Mehmet Serif
...
Is there a jQuery plug-in to remap the "dot" key in the numeric keypad? The purpose is to make it print a decimal separator, rather than a dot, in languages that use commas or other characters. I'd like to mimic the behaviour of some desktop applications like MS Excel.
(It's okay to hard-code the output character.)
...
On browser close or F5, I have to perform some code on server side
For this I have a button. On click of that button which has onclientclick and onclick functions written. I also wrote an event on window.onbeforeunload which does a button.click().
window.onbeforeunload=function(e)
{
button.click()
}
My problem is that this runs t...
I am working on a browser plug-in for Firefox, and I would like to be able to do some automated testing to make sure that it's handling a variety of different HTML/JavaScript features correctly. Does anyone know of a good downloadable corpus of HTML and/or JavaScript pages that could be used for this type of testing?
...
When I take mouse over the Navigation menu links (About Us..), the page moves to left. Is that due to javascript?
link text
...
Hi,
with $("#TextInputElement").select()
I am able to select a text (mark it) in an in an input text field.
Now I only want to select the text in between brackets in that input field.
I have the regular expression match(/-[^-]*-/) to select, but how would I apply this to only select the text inside the input field between brackets?
[...
Hey guys I'm new to JS and I'm trying to combine some functions I built and add some new functionality, but I'm having a rough go.
<script>
$(".1trigger").click(function () {
$(".1expand").toggle("blind", 100);
});
$(".2trigger").click(function () {
$(".2expand").toggle("blind", 100);
});
$(".3trigger").click(function () {
$(".3expan...
Hi everyone
I'm pretty new to javascript. I have this sample table. I want to be able to get the "http://www.msn.com" but haven't been able to do so. How should I do this?
thanx in advance
j
<body>
<div id="tableContainer">
<table width="100%">
<thead>
<tr>
<th width="16%" >...
I am working on making all of our JS code pass through jslint, sometimes with a lot of tweaking with the options to get legacy code pass for now on with the intention to fix it properly later.
There is one thing that jslint complains about that I do not have a workround for. That is when using constructs like this, we get the error 'Don...
I have a table and need a specific column in a specific row.
<tr></tr>
<tr>
<td></td>
<td></td>
<td class="important_column"><a href="/bla/blah/link">IMPORTANT INFO</a></td>
<td></td>
<td class="need_link_here"><a href="/I/WANT/THIS/LINK/">link</a></td>
</tr>
<tr></tr>
So if the link text in "important_column" equa...
Hello everyone,
How wrong is it to place the script tag after the closing tag of the body (</body>). ?
<html>
....
<body>
....
</body>
<script type="text/javascript" src="theJs.js"></script>
</html>
Thanks
...
Hi Folks,
I'm curious what would be the best practice to extend the Date constructor.
The problem I'm facing is, that the Internet Explorer (< 7+8) can't parse a date like
new Date('2010-05-11');
I have to admit that this is not a standard method to parse, anyways FireFox and Chrome perform well on that kind of date string.
Now I'm...