Hello.
I have this friend request page, and i want my div
echo "<div style=' font-weight: bold; background: #283b43; border-bottom: 1px dashed #719dab;'>";
echo "<img src='images/NewFriend_small.png' style='float: left; margin-left: 25px; margin-right: 10px;'>";
echo "Friend requests";
echo "</div>";
To disappear too if it's the las...
Hello,
I have some code in jquery which looks like this:
$("#filterZaal").attr("disabled", "disabled");
$("#filterGenre").attr("disabled", "disabled");
$("#filterZaal").live("change", interceptZaalFilter);
$("#filterDag").live("change", interceptDagFilter);
$("#filterGenre").live("change", interceptGenreFilter);
Now, i have added a b...
Hey guys,
I found code posted by a user on here for a seamless jQuery marquee/ticker. I've modified it to start and stop when scrolled over/scrolled out of, but it often lags once the user scrolls out. It never completely stops, but the speed at which the ticker scrolls is sometimes 1/10 of its original speed. I've sped it up so it's ea...
I want to know if is it possible to do the same javascript code with Jquery:
<input type="button" value="Save" onclick="javascript:return CheckPasswords()" />
What it does is return true or false on user click.
With Jquery I would write:
$(function()
{
$("#btnSalvar").click(function(){
if([...])
{
return f...
I have some code I am trying to run once my image has finished loading. I use this following jQuery code:
$("#myimageid").load( function() {
alert('Image Loaded');
});
However the popup never show up. I can't get the .load() function to work ! Anyone had issues with this?
...
Hi. There are numerous plug-ins to preload images, but is there a way to preload javascript? My application uses a big js file and it take about 5 seconds or so to load before the page shows... so, is there a way I can display a "loading message" while I somehow preload the script? (A sort of 'Loading...' like in Gmail)
Thanks
...
I am trying to match a parent in the following HTML
<tbody>
<tr id="group-1" class="group">
<td>
<div class="GroupHeader">
Group1 <span class="CriteriaEditOptions"><a id="EditGroupItem" href="/Template/EditGroupItem?GroupID=1">Edit</a></span> <span class="CriteriaMoveUp"><a href="/Template/GroupMovePo...
Is there a good way to show a fancy notification to a user when they click a link. Then the link will show a fullspace popup menu that consist option for them. For example they can go delete something on or go back to?
...
can you someone help or direct me to a good tutorial, on how to detect @replies and #tags when submitting a form like twitter? and also when retrieving the information from mysql and displaying them using php, they become links instaed of just plain texts. so basically it detects it and then makes it linkable!! i hope this makes sense!! ...
I remember stumbling upon a benchmark comparing jQuery vs GQuery (run time selectors) vs GQuery (compile time selectors).
Once the site was loaded one could click "Start" and the benchmark (mostly CSS selectors) would run for all three versions and present the results (overall time spent) after finishing.
Unfortunately, I cannot find it ...
How to access to file in another domain by ajax
(I don't want use any php files)
...
have a table that dynamically generates text boxes in run time.
I want to delete the row that got checked. The table is connected with DB.
And, the check box ID's were appended by the TABLE DATA's ID.
If, check any box, and click delete means, It have to get deleted. I have the back end codes.
I just want to get the ID value of any ch...
Hi, I'm working on the code for my new portfolio site and I'm using masonry for the expanding grid layout.
I'm having problems with the code that makes it scroll to the expanded DIV. It doesn't always scroll to the upper part of the div .expanded... Here's a sample:
http://bit.ly/axDQox
Try to click box 1 and then box 5. You'll notice...
I am doing some experimenting (so the code below has lots of stuff that I wouldn't normally put in). I have pairs of spans (that have the same ID). In this exampel there are 2 with ID=42 and 2 with ID=43. Currently, when I click on the text of one of the ID=42s, both ID 42s highlight in red.
Using the plugin from http://arashkarimzad...
So I'm using uploadify to upload multiple images to a folder. Along with each upload, I want to pass along a 'batch name' from a text box value.
When I hard code the batch_name (Fire) below, the database updates fine, but when I replace 'fire' with $('#batch_name').val() the value doesn't seem to pass.
javascript
<script type="text/j...
Hi,
I'm new to JQuery and want to use it to display a simple volume slider.
Can someone please point out my mistake?
Below is a minimal test code. In case it matters, I'm using the JQuery v1.4.1 that comes with MVC2
Sample code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
Multimedia
</title>
<s...
Hello,
I have a few span elements that I am hiding via CSS (display: none;). When the page loads, I would like the first span element to show which in all browsers, except IE7, seems to be the case. Anyone have any clue as to why this might be happening? There isn't any crazy code that would cause this problem, it simply just isn't w...
I have a set of 5 checkboxes with class set to "child". I want that if I select one checkbox, rest of them goes disabled. I have tried following code but it disables the all checkboxes.
if ( !$(this).is ( ":checked" ) ) {
$(this).removeClass().addClass("hand .parent");
$(".child").attr ( "disabled" , true );
}
then even i tried ad...
I find that I constantly want to test little snippets of JQuery and i would love a good method. Currently I go to the page that I am trying to test and open up firebug and enter the snippet and it should appear in the console. I was wondering if there is a better place or method that can help
...
Hi Friends,
I have an input box that I would like to drag and drop links into using jQuery. My goal would be to click the link drag/drop it into the input box and have it populate the image tag if its a link to an image or the href tag if its a link to a file.
Is this possible? Can anyone think of any examples for something like this? ...