Hi all,
Please go to : http://gati.simptome-remedii.ro/ . As you can see there is a carousel effect in the header and it goes forward and backwards once you click on the arrows or press left/right key. But i want to display 1st panel along with 2 and 3 but it displaying 2nd panel along with 3 and 4 on load
This carousel effect uses jqu...
the problem:
I want to use jquery to add a class of 'warm' to any li's neighboring to a li.hot
<ul>
<li></li> * ? (unknown amount of li's)
<li></li>
<li class="hot"></li>
<li></li>
<li></li> * ? (unknown amount of li's)
</ul>
...
Im trying to combine the name field, and msg field, and input all values into #msg, but cant quite get it to work
<script type="text/javascript" language="text/javascript">
$('#DocumentCommentsForm_21').bind('submit', function(){
var name = "##" + $('#navn').val() + "##";
var msg = $('#msg').val();
$('#msg').val(name+' '+m...
im using ajax call on a comment form for a greek site. The encoding works fine for Firefox but not in IE.
$(document).ready(function() {
$.ajaxSetup({ scriptCharset: "utf-8" , contentType: "application/json; charset=utf-8"});
$('#submitAjax').click(function() {
var name = $("#name").val();
var email = $("#email").val();
var comm...
I have an anchor like this:
<a href="#" rel="1 4 7 18 ">Anchor</a>
Where 'rel' attribute values are ids of some items.
Than I have a form with an input, where user should type an id and click submit button.
On submit button click I need to check the value of input like this:
var value = $('a').attr('rel'); // get anchor 'rel' ids
var...
I have a strange problem when I'm trying to call a simple webservice method from Jquery.
Locally it works fine, but on my test-server it does not.
The jquery request looks like this (only showing the actual request and not the rest of the method):
$.ajax({
type: "POST",
url: "/Service/Service.asmx/AddTab",
data: "tab="...
So I have a hover function that is supposed to move an arrow under the corrent the link that someone hovers over. The problem is, the arrow never returns to the current link when the person stops hovering over the link. However, if I set the left properly with a constant value it works. Anyone have any ideas?
Here is the js:
$('#navbar...
Can you give a very simple example of reading a jsonp request with jquery? I just can't get it to work.
...
Hello,
So i have one div element that i append on my DOM with a click of a link.
The problem is that i should be able to move that element around, but if i append it to my DOM i can't drag it at all.
So is the live()-function solution? If it is, how should i use it? I kinda don't know how.
Here's the minimalistic code:
element to be a...
Hello All,
I have been doing web designing for quite some time. My question is:
Should a web designer know JQuery at all?
Thanks
...
Hello,
I'm new with jquery and want to ask a question, can jquery make something like this pics? I don't know what's this was called, so I can't googled it.
Regards, B_S
...
How do I check if an element is the last sibling?
For the last cell in a row I want to perform a different action.
This doesn't work:
$('td').each(function(){
var $this = $(this);
if ( $this === $this.parent().last('td') )
{
alert('123');
}
})
And neither does it if I remove .parent().
...
Hi, it it possible to get the form action of a GET form on submit including all of the get variables added on the end?
The reason being I want to use AJAX to run the script that the form submits to, and then just display a thank you message.
...
hey guys
i create two input text fields , one for title and another for permanent link
i need to update the second filed automatically when user is typing the tilte
how can i do such a thing in jquery /php
somehow im looking for a way to simulate wordpress creation of permanent link in post section
...
I'm trying the following to control the speed of rotation of the tabs but with no luck, any ideas?
$('#featured').tabs({
onShow: function(event, ui) {
if(ui.index == 0)>
{
$('#featured').tabs("rotate", 2000, true);
}
else if(ui.index == 1){
$('#featured').tabs("rotate", 5000, true);
}
else if(ui.index =...
From: http://ejohn.org/apps/learn/#2
Function.prototype.bind = function(){
var fn = this, args = Array.prototype.slice.call(arguments), object = args.shift();
return function(){
return fn.apply(object,
args.concat(Array.prototype.slice.call(arguments)));
};
};
Can anyone tell me why the second return is necessary (befo...
I have a gridview and for client side sorting i am using the Jquery tablesorter plugin. Now i want the header and footer of the grid to be fixed and the rows to be scrolled.
Can anybody help me out?
Thanks in advance...
...
Hi,
I am using the setTimeout function to set display: block; and append to li, on mouseover. I just want to remove the block and make it none.
My function works fine but the problem is if the mouse crosses the li, it self the block getting visible. How can I avoid this?
my code is:
var thisLi;
var storedTimeoutID;
$("ul.redwood-us...
Hi, I have a form which on submit I want to run a script via Ajax, but for some reason it is returning an error. Any idea what is wrong? My code is as following:
$('.spiderform').submit(function (event) {
event.preventDefault();
alert($(this).serialize());
$.ajax({
type: 'get',
url: 'http:...
Hi, I have the code below, which sends the value of the textarea and either gets a fail or Successful response, for now I just check if it says "hello".
function postdata()
{
$.ajax({
type: "POST",
dataType: "text",
url: "makepost.php",
data: "post_text=" + $("#post_text").val(),
cache: false,
success: funct...