<table id="experiences" cellpadding="0" border="1" width="100%">
<caption>table name</caption>
<tr><th>col1</th><th>col2</th><th>col3</th><th>col4</th><th>col5</th><th>col6</th></tr>
<tr><td>something</td><td>something</td><td>something</td><td>something</td><td>something</td><td>something</td></tr>
<tr><td> </td><td...
I am binding the click event to 4 href's (they have class="alink") using JQuery in the ready() event like this:
$(".alink").click(function() {
debugger; });
I expect whenever I click on a link, the event fires. However what I notice is that sometimes it doesn't fire and when it fires, it fires 4 times. Am I not doing i...
$("#experiences tr").gt(0).dblclick(function() {
$(this).remove();
});
I used the above code to exclude the first row,
but it turned out to be wrong.
double click on all rows has no response now.
...
i am using jquery sortable.
right now i have a list of items that i can ALREADY use drag and drop. which is cool.
i will use a submit button at the bottom of the list to submit the new order. the change in the list is not automatically submitted.
All i need is somehow indicate that an element's position has changed. I googled quite a ...
$("#experiences tr")
For the above one,how to judge if it's empty or not?
I thought its boolean value should be false,but seems not.
...
$("id").clone()
then put the jQuery object into a div#target
how to do that?
...
hi,
i was wondering if there is any significant difference between consuming .asmx services
with asp.net ajax calls - serviceName.method(param,...)
or with the jquery $.ajax call.
I'm currently using the asp.net ajax which seems simpler but i get the js proxy file as well.
i don't mind getting my hands a little dirty if using jquery is...
Is there a way to clone HTML elements using JQuery?
However, I want to be able to assign the cloned elements new attributes "id, name". So if I had a textfield element, I want to clone it without its value and change its id and name attribute to "exmple2" if it was named "example" previously.
I would appreciate any help on this and any...
Hello!
I am trying to stop the loading of images with javascript on dom ready and then init the loading whenever i want, a so called lazy loading of images. Something like this:
$(document).ready(function () {
var images = $('img');
$.each(images, function() {
$(this).attr('src', '');
});
});
This doesn't work (tested in ...
I have a problem with datePicker. When a make a new text field with datepicker and append it to some div it wont work.. Did anyone had the same problem...
$(function(){
$("#DP").datepicker({showOn: 'button', buttonId: 'kalendar', buttonImage: 'calendar.gif', buttonImageOnly: true});
$('a').click(function(){
$('<input...
I have a form (signup.php) that pops up in a nyroModal window when I click a button:
<input value="Edit" class="nyroModal" type="button" href="signup.php">
I would like to use some form of AJAX validation (to check if the user name has been taken, for example) before submitting the form.
I had the following in mind: When the user cl...
I'm using qtip ( http://craigsworks.com/projects/qtip/ ) to make tooltips. Now I need to show tooltips when button is pressed and hide tooltips for example when 3 seconds has passed. My current code is not working, tooltips will sometimes go away and sometimes stay...
var self = $("#email");
self.qtip( {
content: error,
...
I'm currently using a jQuery Date Time picker to select a date time to be put in to a database. When using the date time picker, the result shows up properly in the text box it is bound to (IE 27/09/2009 16:00). However, the date time is not being passed to the MVC application properly, and is being received as 01/01/0001 00:00:01.
The...
My below mentioned code still submits form on special character in name field. Validation works but If I submit repeatedly it breaks and submits the form with special chars in name.
What could be the reason for this?
$("#fee").submit(function(){
trimmedValue = $.trim($("#name").val());
$("#name").val(trimmedValue);
typevalue =...
I've been trying to follow the top Google results for ASP.NET + Flexigrid for jQuery such as CodeProject's approach but they all seem kind of sophisticated, I'm rather looking for something way more basic in terms of simplicity, a kind of Hello World approach if you will. I'd be more than happy if you guys would like to share any resour...
I'd like to reveal only post titles on my blog posts loop, and when the title is clicked -- the excerpt will appear below.
So far I got this:
$("#postTitle").click(function () {
$("#postExcerpt").toggle();
Which works one the first result only.
This, however:
$("#postTitle").click(function () {
$("#postExcerpt").next().toggle();
...
I've the following css classes
.switch-format{
background-color: yellow;
}
.switch-format1{
background-color: blue;
}
.switch-format2{
color: red;
}
Using this classes I want to do some animation on the following div
<div id="switch-class" class='switch-format' style="margin-top: 5px;">
Effects - Switch
</div>
Following i...
Hello, I have a problem with a page that includes two js files. In firebug it shows that every time the page loads those two files get included with the prefix ?_=someRandomNumber
I don't know where that random number is generated from and I guess it is the reason the files are not being cached and are downloaded each time the page is ...
I'm using (or trying to) JQuery Validation with WebForms/html.
I have, basically (simplifying the real html, showing only the elements):
<input id="txtEmail"/>
<input id="txtTicketID"/>
<a id="create" href="#">Create a new ticket</a>
<a id="find" href="#">Find this ticket</a>
The javascript for validation/action is here:
$(function(...
I have a slide show located at staging.asla.org/sustainablesites/secondary.html that uses the easySlider plug-in plus also uses the jQuery Toggle function.
Currently when you navigate through the slide show the description stays either shown or hidden. I would like for the navigation of the slide show to control the toggle function in ...