Hi folks,
I'm building a micro site at the moment and I have a problem. I want to scroll to the different list elements by clicking on my menu. This is working fine. But the problem is, by using the list index to traverse to the second or third element of mainmenu, its only working fine in the first menu because the index of the second...
First of all, I checked all the newbie mistakes. According to Firebug, that element has no class attribute set untill the addClass is called and then the class attribute is set to "".
Javacript:
$("#filter_banned").change(function(){
if ($("#filter_banned").is(":checked")) $("#admin-userList").addClass("appliedFilter_banned");
$("#a...
Is it possible to add status text in jQuery progress bar?
For example :
if i am selecting 3 files to upload i want to show the filename below the status bar
is it possible?
...
Hi,
I need to display the message with first time the button is pressed only. If I press the button again, it will redirect me. How to do in javascript?
I have submit button, first time press button it will show the message. Pressing the same button the next time should NEVER SHOW the message, it should forward to the next page.
Plea...
Hello!
How can i make sure that several divs are slided up? Right now I have this function:
$("div#personal").click(function() {
$("div.1").slideUp("slow", function () { $("div.2").slideDown("slow") } );
});
What i would want to do is to make sure that all divs that are named:
div.1
div.2 EXCEPT THIS ONE
div.3
div.4
div.5
is ...
Not sure if I've just missed something but this doesn't work:
$(this).children('td.threadtitle a').html('thread title');
However this does
$(this).children('td.threadtitle').children('a').html('thread title');
I'm just trying to understand why this is occuring. But is this a bug?
...
I have 3 different jquery uses & put it into one code as follows:
$(function() {
$("#ticker01").liScroll({travelocity: 0.075});
$(mainContent).corner("10px");
$(".article .thebody").hide();
$("#mainContent .article ul")
.prepend("<li class='readbody'><a href='' title='Read the article'>Read/Hide Story</a></li>...
currently redoing a gallery for a client at
www.stagecraft.co.uk/gallery.html
but i'm getting problems with my overlay.i want is it's in the middle and on top (brought to the front) of any divs that are in view as newer images, when i get them from client, will be much bigger.
any ideas greatly appreciated. or is there a better light...
I am trying to show the progress of file upload thru jQuery. File upload works fine. But progress bar appears after the file is uploaded. That is pregress bar shown in 100%. But when i 'alert' i can see the progress bar.
any idea why progress bar is not shown with below sample ?
<body>
<div id="progressbar"></div>
<div id="stat...
I would like to use replace the value of a submit button with "Loading& hellip;" (without spaces).
The problem is that when I click the button I still see "& hellip;" instead of three dots.
Here's my code:
$("#myid").val("Loading");
Should I enter the ellipsis directly from keybord in the code above? Is it safe with UTF-8?
...
I use this code: http://blogswizards.com/plugin-development/sliding-boxes-and-captions-with-jquery
On a simple gallery site I am building. Specifically I use the last effect:
//Caption Sliding (Partially Hidden to Visible)
$('.boxgrid.caption').hover(function(){
$(".cover", this).stop().animate({top:'185px'},{queue:false,durat...
What I want to do is make a script on the server read a text file, sort it, then output it to a javascript object (probably via JSON). The text file in question looks something like this:
13/09/2009,17/09/2009,Arbitrary dates
14/09/2009,18/09/2009,Some random comment
14/09/2010,18/12/2010,A comment to the dates
14/09/2010,18/09/2010,A ...
$.get($(this).attr('id'), function(data){
var qp_post = $(data).filter('title');
alert(qp_post);
});
This fetches the content fine however the alert just says
[object Object]
When I do alert(data); it shows the HTML of the page perfectly.
...
I am trying to add next/previous buttons on a button click using the jQuery UI Slider. I found this code...
$("#down").click(function() {
var s = $("#slider"), val = s.slider("value"), step = s.slider("option", "step");
s.slider("value", val - step);
});
$("#up").click(function() {
var s = $("#slider"), val = s.slider("value"), s...
Hi,
I'm trying to save data from HTML table to database using jquery to call a page method.
However, jquery call fails with : 500 internal server error..
Any advice?
Below is the code:
SCRIPT:
$(document).ready(function() {
$("#save").click(function(event) {
var i = 0;
var inputs = new Array()...
Hello,
I'm trying to use jQuery's $getJSON to send an array of 'ids'. Here's what my jQuery looks like:
var calendarIds = [];
$("#jammer :selected").each(function(i, selected){
calendarIds[i] = $(selected).val();
});
$.getJSON("test.php", {
start: start.getTime() / 1000,
end: end.getTime() / 1000,
calendarid:...
I have a scenario where I am using Google Map JavaScript API to process the address after user submits the form. However, I want to post result, that Google API returns back, to server side for further processing within the same form submission. How can I achieve this? Thanks in advance for your advice.
...
Hi
I have a Jquery accordion which works fine. Sections get expanded/collapsed when clicked on respective headers. But I want to add the functionality so that when I click on "next" button it opens up the next section and clicking "Previous" button takes me back to previous section.
This has been done on this page http://jquery.bassi...
This might be a simple answer, but I am having some issues writing this little load script… I think I have abug somewhere, I can get it to clear the div, however the page is not loading:
Jquery:
$(document).ready(function() {
//Load content
$(".load").click(function(){
$("#content").empty();
loadName = $(thi...
how can i diclare variable in jquery
i am using
$.name = 'anirudha';
alert($.name);
that code is work but when i write this
$.name = document.myForm.txtname.value;
alert($.name);
then my code is not worked so how can i define a variable in jquery
...