I want to use progress bar to show file upload progress.
I'm currently using the following code
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.progressbar.min.js"></script>
$(document).ready(function() {
$("#spaceused1").progressBar();
});
HTML:
<span class="progressBar" id="space...
Hello,
I have page like this
<html>
<head>
<div id="container">
Hello, this is NON-IE content.
</div>
</head>
</html>
What I want is to Stop Internet Explorer [ IE ] from loading OR Neglecting <div id="container"> & allow all other browsers to load It.
Don't want to use <!--[if IE 7]>.
Looking for Javascript to work with.
How Ca...
look at this function please
$(".menu_tree img.edit").click(function()
{
id = this.id;
lang = '<?=$lang_id?>';
var body_width = $("body").width();
var body_height = $("body").height();
$("#shadow").width(body_width);
$("#shadow").height(body_height);
$("#shadow").show();
...
Note: If you're 'just' a jQuery developer some things in this post may look a tad complex (Base62 encoding etc.) - it's really not. Although the more technical details are relevant to the question, the core is that jQuery won't select stuff with capitals. Thanks!
Hi folks!
So I have a list generated by Ajax. When you click the list's t...
Hey all, I've been trying to get a series of objects to appear that have multiple classes associated with them
<div class="Foo Bar">
Content
</div>
<script>
alert($('.Foo').length);
</script>
The selector above is returning 0. This is unfortunately one of those questions that is completely impossible to ask to google (at leas...
Hi,
I am using jqGrid and have inline editing with a textfield using jQuery autocomplete. My problem is that autocomplete binds my enter key (to the input element) to select an item in the autocompletion list of suggestions. This is all nice, however, my jqGrid has also bound my enter key to the table row, saving the row and exiting edit...
$('tr').find(need help here).parent().css('backgroundColor', '#fcc');
would like to perform inequality check of two dates (both strings) in the 'need help here' section of the above snippet.
Thanks
...
hey guys ,
i know how to load a page in jquery and somehow i know how to use success but what if that page failed
im looking for a way to show loader image before the page loaded and if the page failed show a message
this is the function i wrote :
$(document).ready(function(){
$("#loading").html("<img src='images/preload.gif' ...
Hello all,
I have been digging around on this site and googling for a while now and I cannot find a good solution to my problem. I would like to be able to save the state of my jquery portlets on a page. I would rather not have a "save state" button if I can avoid it.
Anyway, I just have the jquery code copied from their portlet examp...
I'm designing a page for a kiosk at a local business that displays both a flash solar monitor as well as a slideshow of images of their new green roof but want a way to focus on each of these objects individually, making the one in focus larger in the foreground while having the other smaller and more subtle in the background or on the s...
hey guys,
i'm almost there but I'm not able to solve the last problem.
I'm trying to create a simple dropdown menu with jquery on a Indexhibit page.
$('#menu ul li.section-title').hover(
function () {
$(this).parent().children().show('fast');
},
function () {
$(this).parent().children().not(this).hide('fast');
}
)...
<div id="abclink">
+ click here to view
</div>
<div id="abctable" style="display: none;">
some text here, allot of text
</div>
So using jquery I try and do:
$("#abclink").bind("click", function() {
$("#abctable").show();
});
This doesn't work, and I don't know why?
...
I'm having trouble with a piece of code
$(function(){
$('input.no').click(function(){
$(this).animate({"left" : "80px"}, 150);
$(this).removeClass().addClass('click'); });
$('input.click').click(function(){
$(this).animate({"right" : "0px"}, 150);
});
});
and here you can see the full code
http://pastebin.m...
hi guys,
i have
<ul>
<li class="section-title">HEADER which triggers dropdown</li>
<li><a href="element_one">element one</a></li>
<li><a href="element_one">element one</a></li>
<li><a href="element_one">element one</a></li>
</ul>
i'm hiding all li-elements (except the first one) with this line:
$('#menu ul li.section-title:f...
Hi, I'm having problems getting a div to appear using jquery after 5 seconds.
right now I was using
$(document).ready(function() {
$("#message").delay(delay).fadeIn(5000);
});
But it's not working (#message being the name of the div serounding the content I'd like to show)
If anyone could help me get it working that...
I have a form that displays an asp.net grid with different people listed in the grid.
A user can add new user's to the grid, by clicking an asp.net button on the page:
<div id="content_button">
<asp:Button ID="btnAddperson" runat="server"
CssClass="content_button"
PostBackUrl="addperson.aspx" Text="Add
Person"
Tool...
I know you can get a $_SERVER['HTTP_X_REQUESTED_WITH'] php variable if jquery has loaded. That's great but if you use an iframe then that variable is no longer available. Is there a way to detect if jquery has loaded and give php a varaible in an iframe? I don't want to load a header or footer if jquery has loaded 100% but otherwise put ...
I have one form as shown below:
Page 1:
<form name = "form1" method="post" action = "page2.php">
........
</form>
Page2.php:
<?php
For loop ...
.....
end
?>
Now i want to have progress bar on page 1 so that it can show the completion progress of for loop in page2.php.
Tell me how can i do that? Please don't direct me to any pro...
I have an MVC view with the following jquery.
<script type="text/javascript" language="javascript">
$(document).ready(function () {
$('#myinput).change(function () {
alert('Changed');
});
});
</script>
When I change the text in the 'myinput' box, I want the alert 'Changed' to be displayed. This wor...
I have a table with rows which can be deleted by clicking on an icon next to each row. When the icon is clicked a confirmation dialog appears asking the user to confirm.
Whichever action is taken (Yes, No, X) causes a Too Much Recursion error. The function works, in that the row is deleted, and the dialog closes, but it causes the TMR e...