Hi,
i have a little question.
Is it possible to call the keyup function with an extra value?
For example
$('#eld').keyup(function test(e,val2){
test('','hallo');
But this will not work. Any ideas?
Kind regards
Peter
...
I want o get a list of all the radio buttons that are contained in a div using javascript or jquery.
eg
<div id="container">
<input type="radio" id="1">
<input type="radio" id="2">
<input type="radio" id="3">
.... //total no of radio buttons are not known
</div>
I want an array containing an id of all radio buttons c...
I'm testing out a web page on the Android 2.0 and 2.2 emulators, and the jQuery.ajax() requests that the app makes have slightly different behaviors regarding HTTP Authentication Headers.
The server I'm making requests to requires basic authentication, and the ajax requests in 2.2 send the proper auth header. In 2.0, I am debugging with...
I am using a table navigation menu in my website in that i have used JQuery fadeTo() for when I mouse over the menu items (<td>) it working only once. After same menuitem mouseover is not working. Please tell me whats wrong in my code?
$(document).ready(function() {
$("table.nav td").mouseover(function() {
$("table.nav td:...
I use this snippet to show a dialog. This works great however: the title is going to be set only for the first time I click the table cell. After reloading the page again the title is set - for one time. Ad infinitum...
$(document).ready(function() {
$("td[id^='_ctl0_tbl_content_reportid_']").click(function() {
var tokens = ...
Hi all,
So it's not a complicated matter at all, but was wondering how the Stackoverflow community would tackle this.
I wrote a facebook-style wall type thing where users enter their "status", it gets processed via jQuery Post and upon success returns a success message.
Prepending the new message to the Wall Stream would make sense, ...
I have on-fly increasing form rows and 3 columns and each cell contains text box. I want to sum first 2 columns' values to 3rd colums for each row. how can i do that with jquery?
let me visualize more:
c1 c2 s
r1 5 6 11
r2 7 3 10
. . . .
s sc1 sc2 sc3
sc1,sc2,sc3 are sum of the related co...
I have an array that contain some fields
like this
ctl00_ctl00_cphBody_bodycph_content_rdo_SID_25_SortOrder_17
ctl00_ctl00_cphBody_bodycph_content_rdo_SID_25_SortOrder_18
ctl00_ctl00_cphBody_bodycph_content_rdo_SID_25_SortOrder_19
I want to create a new array or manipulate this array to contain only
sid = {25,26,27}
from
_SID_25
...
Hi, I'm working on a simple, one field, form that works with AJAX. Every time I submit the form and then refresh the page, I get a 412 error (Precondition failed: The precondition on the request for the URL /user.html evaluated to false.). Eventually this form will be AJAX, but right now, I'm just using jQuery to receive the click event ...
I have a page layout that looks something like this
| image || image || image |
When you hover over one of the images, I want to make an animation to get something like this
| image-hover || image || image |
or
| image || image-hover || mage |
or
| image || image || image-hover...
hi my dear friends:
The pages on my project are base on master and content pages...
I want to do something with javascript(rather than jquery) in one of content pages after
ALL OF MASTER AND CONTENT ELEMENTS ARE LOADED COMPLETELY.(for example set focus on a RadComboBox Control)
For doing that I used the below code :
<asp:Content ID="...
I have searched already but unable to find an answer that works. I simply want to set the text of a label that is in a content page. Obviously because the control is in a content page it has the modified client id. So I know simply ".labelName" will not work alone because the client id is for example "ctl00_ContentPlaceHolder1_labelName"...
Is there a way to convert processing apps to native iPhone app's?
Alternatively... there's a nice jQuery library for processing, but can that be used with the various cross-platform "develop using HTML/JS, get a native app" conversion?
...
I have the following code:
$("a.sticky-link").click(function (e) {
e.preventDefault();
$("div.stickies-box").slideToggle('slow');
$("a.sticky-link").toggleClass("selected");
});
$("div.stickies-box").mouseup(function () {
return false
});
$(document).mouseup(function (e) {
if ($(...
Astounded this question didn't show up in the related questions list. There's some similar stuff, but I'd like to know:
string s = "<p>Cats</p><div id='fishbiscuits'>myValue</div>";
I want to use JQuery to get myValue.
How can I do this?
...
Is there any way to trim (remove leading/trailing spaces) the input entered by a user into a jQuery auto-completing text <input> box before it is matched against the list of names:values? I currently have a textbox in which users are meant to enter names. The names are then matched against a list of name:value pairs by jQuery:
<script t...
I have an array of images/links that need to be displayed in columns of 8 for however many rows there are, but I can not control this array.
Is it possible to format this using CSS/HTML (or as a last resort Javascript) so that a new row is created after x items is displayed?
...
Hi,
I want to load images from my server to an image gallery. The problem is that after loading the web page my program loads all the images first and then displays them all at the same time. As a result, there is a significant wait for them to load.
I would like to display the images one at a time as they load, showing an "busy" ind...
I want to be able to pass either a string literal,
'this is a string'
or a javascript object,
{one: 'this', two: 'is', three: 'a', four: 'string' }
as argument to a function, and take different actions depending on whether it's a string or an object. How do I determine which is true?
To be specific, I want to iterate over the prop...
Hello,
I am very new on jquery, today i tried this following code
$("#new").click(function() {
$('#new:checked').closest('p').css('color', 'white');
});
this works fine, when i clicked the checkbox, however when i untick the checkbox, it doesn't change back to original color back..
how do i achieve previous state of css after i...