Initial load of my page I have a form below
<div class="display-none">
<div id="add-employee-container">
<form name="create_employee" id="create_employee" method="post" action="#" onsubmit="return false;">
<label><span class="text-red">* </span>First Name:</label><input name="firstname" id="firstname" type=...
hi,
how can I avoid this in jQuery:
$(this).parents(".node-inner").children().children().children();
I tried:
$(this).parents(".node-inner").children(".className");
but it doesn't work.
thanks
...
Hello,
I have made a image gallery with jquery found here:
http://sarfraznawaz2005.kodingen.com/demos/jquery/image_gallery/
I just wanted to know how to i add functionality to prev and next arrow images to show next and previous images with jquery.
Thanks.
...
I have a row in a table which contains a checkbox and some other form fields (text boxes, hidden fields, select lists). When the checkbox is checked I want to disable all form fields in that row except for the hidden fields. I have this working for the most part, but I can't seem to ignore the hidden fields.
What is the best way to sele...
Hi guys,
I read that the new delegate method can attach more than one event to a handler however I have not see this in practice. Would anyone type a code for this please.
I tried:
$("body").delegate("input", "mouseup", "mouseover", function() {
$(this).after("<p>Another paragraph!</p>");
});
and it appended the ...
Hello,
I want to .append to a div and pass the value on as html using jQuery
I want to pass a hidden <input type=hidden....> append and sending it as .html
$('#here').append(va_lue).html();
Hoping you guys understand now
Thanks
Jean
...
EDIT
Nevermind... I really was missing the obvious... duh.
I have a five-column table and am using jquery.datatables.js (http://www.datatables.net/). I'm trying to figure out how to remove sorting for the first and fifth columns so that it's not an option at all...
I've tried the function below, but it's still adding a sort to the c...
I have the following jquery function
> <script type="text/javascript">
>
> $(document).ready(function() {
>
> $('#callGrowel').click(function() {
> $.growlUI('Email Received', 'from Joe Bloggs');
> });
> });
>
> </script>
and in my aspx page I have a div
<div id="callGrowel" >Run Growe l</div>
...
Hello,
I want to display a success msg after finishing an Ajax call.
I tried to do the following:
$("form.stock").submit(function(){
$.post('/ajax/transactionupdate', params, function(data) {
$this.append("success");
}
});
The problem is that inside the callback function, it seems like $(this) is unknown (not part of the i...
Hi Guys,
I am learning jQuery and just came up with this - but really not sure whether it is the best solution.
Would someone be able to assist and tell me whether this is something more "elegant" ?
$('#hde_test').hide();
$('#shw_test').click(function() {
$('#shw_test').hide();
$('#hde_test').show();
$('.class1').show();
...
I have a div which displays the current value of the slider and the div moves with the slider position.
Based on the answer at http://stackoverflow.com/questions/745037/using-offset-and-jquery-slider
I came up with the following code:
function SliderSetup()
{
$("#slider").slider({
value:0,
min: -10,
...
A situation I ran across this week: we have a jQuery Ajax call that goes back to the server to get data
$.ajax(
{
type: "POST",
contentType: "application/json; charset=utf-8",
url: fullMethodPath,
data: data,
dataType: "json",
success: function(response) {
successCallback(response);
},
error: erro...
If a third party javascript file hangs and takes a while to load, will jQuery(document).ready have to wait for that to load before being called?
...
Can't get my mSlider function to work in IE. It's says i get an error on line 171. But i don't reckon why. Would appreciate some help please. Here's the page
This is what line 171 refers to:
window.mSlide = function(){
var currentPosition = 0;
var slideWidth = 500;
var slideTotal = 3; // Total amount slides
var mSlideObj = $(".mSlideOb...
$(Constants.Selectors.Submit_Button).bind('click', function () {
GM_log('Event run: id = ' + this.id + ' self = ' + this);
});
The above code appears to run when the click event is triggered by the document (or otherwise some other all-page encompassing element or set of elements.) The console output is this:
Script: Event run: id ...
Hi,
I have a web page with swf file defined this way
<object width="600" height="400" type="application/x-shockwave-flash" id="plist" data="/site_media/apps/problemme.swf">
<param id="board" name="flashvars" value="id={{ id }}">
</object>
What I want to do is to reload this object after button click (also I want to change value o...
What you prefer about saving Webservice files in asp.net website(not websiteapplication).
I saved WebService files in App_Code\WS\somewebservice.asmx.cs.
And call method from this class with jquery.ajax
$("#btnMY").click(function() {
$.ajax({
type: "POST",
url: "App_Code/WS/ConstructorWS...
hello
i create a menu and i show and hide submenu on jquery via hover event like follwing code
is any way, submenu show or hide after some milisecond mouse stay over them?
$(" #nav li").hover(function(){
$(this).find('ul:first').show(600);
},function(){
$(this).find('ul:first').fadeOut(400);
});
}
t...
I'm considering using this jquery utility as a possible solution, but I want to have a better understanding of it's use. Any thoughts?
...
I am looking for a javascript (preferably jQuery) script that will simulate a coverflow like effect - but not quite like a coverflow. I made a simple example of what i am trying to achive here:
The black is the main image currently in focus - there is a prev and next link directly next to the main photo. The 2 purple boxes illustrate ...