mkmanning and jules, thanks! Must have been end-of-the-day synapse
shutdown...
mkmanning and jules, thanks! Must have been end-of-the-day synapse
shutdown...
unsubscribe
Modify this line of code
var panelID = "panel_" + $("input").val();
to
var panelID = "panel_" + $(this).val();
On Oct 30, 9:56 am, AlChuck wrote:
> Hello, I'm new to using jQuery. I was motivated by wanting to put some
> panels on an ASP.NET website which
var panelID = "panel_" + $("input").val();
You're problem is the selector; look at it for a second to see why it
won't work (think about what exactly it's selecting). If you want the
value of the button that was clicked, just reference it with 'this',
as in
var panelID = "panel_" + this.value;
The main problem is, since the fields can be updated very quickly.
There could be multiple "sending. . ." tags next to input boxes. With
the fadeout, this will produce strange results if I just move it
around.
Also, I just tried the method you described and it only works the
first time.
On Apr
You're not actually removing the span, though. It might be better to
create it once, then move it wherever as needed.
// inside $(document).ready()
$('').attr("id", "fieldstatus")
.addClass("fieldstatus")
.appendTo('body');
...
// inside your event handler
$('#fieldstatu
Here is how I fixed it:
1) I needed to use remove() instead of empty()
2) To avoid conflicts in the the id, I appended (new Date()).getTime()
to each id to make sure all the id's are unique.
Now when I create a bunch of elements really quickly, they all
disappear eventually.
On Apr 28, 7:10
You are selecting an image and image has no HTML or any kind of text
content in it!
img element has no html() function.
jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Thu, Jan 8, 2009 at 8:11 PM, CreativeMind wrote:
>
> hi all,
> i m unable to find the img and its src attribut
when i use the values , they are showing me as if working
properly...but when i check them using alert , i can't find any value..
10 matches
Mail list logo