The first submit works as expected, but the next time it's fully posted back. I'm using jQuery.form plugin, specifically the .ajaxSubmit(options) call to submit the form. There are a couple levels of wrapper div's, but I debug the button.click binds and I can't figure out why the second time, even with the same variables, it does a full ...
hi all,
is there some tweak to add a caption to the progressbar control?
i'd love to put a centered caption which displays current percentage.
thx
...
I have created a tooltip that appends a DIV with text to the page.
I have managed to get it to appear in the position i want and follow the mouse as it moves.
I was previously doing this with inline styles and updating the top, left absolute positioning co-ordinates dynamically inline.
This seems to cause performance issues so i wrote...
hi!
i have this html block:
<p><strong>this is the title</strong>this is the content</p>
how do i get only the "this is the content" string with jQuery?
thank you :)
...
How would i be able to select a word and change the colour of that one word?
e.g. add a span with style and chage the font colour.
Can someone lead me down the right path please.
Jquery
function edit_addon (div_id) {
$("#"+div_id).attr ('contentEditable', true)
.css ('color','#F00')
.css ('cursor'...
Seeing some bizarre behavior in a list of scrollable items. The containment is set to the <ul /> element (which is droppable), and the draggable items are the <li /> members. The container is relative-positioned, and is a couple of divs down inside an absolute-positioned container (something like top: 150, left: 250).
When a drag star...
I'm using and $.ajax method to get an html text.
I would like to parse this html, getting the "src" from an "img" tag.
I've done this way:
$.ajax({
type: "GET",
url: "image1.html",
success: function(msg){
var htmlCode = $(msg).html();
var title = $("#immagine", htmlCode).attr("src");
...
I have a page that displays a grid of products that is populated programmatically on the server-side based on a database query. In each grid cell I have a drop-down list where the user can rate the product. I also have a <div> in each grid cell that shows the current average rating. My aim is to trigger an ajax call when a rating is sele...
Hello
I am using ASP.NET partial views like in this example
<% using (Html.BeginForm()) { %>
<table cellspacing="2" cellpadding="0" border="0" width="100%">
<tr>
<td><%= Html.LabelFor(model => model.PersonName)%></td>
<td>
<%= Html.TextBoxFor(model => model.PersonName)%>
<%= Html.Validati...
Alright, I have a div which is 50px (height), and the width does not matter that has a title displayed. I want to use jquery, so when I hover over the div it expands upwards to (70px) to reveal the content hidden below the title
<div id="box">
<h1>Title Goes Here</h1>
<p>this is the hidden text</p>
</div>
...
I have a function that I'm using to prevent multiple postbacks of a form:
var submitted = false;
$(function() {
$('form').bind('submit', function(e) {
if (!submitted && CanSubmit(e)) {
submitted = true;
return true;
} else {
return false;
}
});
});
In the CanSubmit me...
$(function(){
$('input[name="username"]').keydown(function(key){
if (jQuery.inArray(key.keyCode,
[8,37,39,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90])
== -1 || key.shiftKey ){
return false;
}
});
});
What t...
I can't figure out how to pull the song title from the Streampad API. This is straight from the Streampad API website.
SPAPI.song():Object
Returns the current song that is
playing. Object will have these
properties: songTitle, artist, album,
imageUrl (link to album cover art),
sourceUrl (link to page containing
song), ...
I'm trying to access all my select tags with a specific name.
I've tried doing this:
$("select[name='blah']")
and
$("select[name='blah[]']")
but neither are working.
I followed the JQuery documentation that showed it doing it like this for inputs:
$("input[name='newsletter']")
What am I doing wrong?
Thanks
...
Have a text input box.
Would like the user to enter a string in the exact format:
2010/08/26 17:04:51.24
(with any numbers of course)
How can I do this efficiently?
Not looking for the answer, just a point in the right direction.
Thank You.
(html, JavaScript and jQuery)
...
Hi!
I'm using a form provided to me by PayPal in order to sell something on my website. Before the user hit "checkout" via the paypal form button, though, I want to track an event in google analytics. i have found this article via google analytics http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html that explains h...
Hello,
I am trying to create a jQuery script that would remove a div/s based on what the class of the parent div is, for example based on the parent div class below i.e one-column I would like remove divs sideColumn-two & sideColumn-three
<div id="footer" class="one-column">
<div class="wrapper">
<div class="contentColumn">...
I'm using the ajaxform jQuery plugin to create ajaxed HTML forms and want to implement validation using the jQuery Validation plugin.
I'm not sure what is the best way to implement this.
It doesn't work out-of-the-box for me. I set up the form with form.ajaxform({}) and then set up validation with form.validate({}). The invalidHandler...
I am using JQuery UI's autocomplete widget on a site of mine as a Country Selector and am pretty happy with the functionality. I have the country selector on pretty much every page of importance on the site as it is used to allow people to search.
The issue that I am having is that the widget is screwing up my Google Keyword density. Be...
Hello Everybody,
I'm working on asp.net application.And i'm looking for a way to show a link over a textarea when a user try to add a comment if the user is not loggd in.
I've got this idea from Youtube videos comments.If ur not coonected,they show a link saying u have to login to be able to add a comment.
Does anyone has an idea how ...