I am displaying some lists, and some of the list li's display user
generated content. Some of that conetnt seems to have lists in them.
Is there a way to specifically say that treeview should only process
certain uls or lis and ignore others?
e.g.
my user list
my user list
a paragraph
I
Actually sorry the values should be:
2009-01-04
2009-01-07
2009-01-10
I have the following inputs
The idea is that I have a php script that calculates the date by
building upon the values that are passed into it.
So in the (a|b|c)_preview span the expected values would be something
like:
2009-01-04
2009-01-05
2009-01-06
I then tried to
).appendTo($
> > ('').attr('colspan','7').appendTo($('').prependTo
> > ('#recent_activity tbody'))).slideDown('slow').fadeIn('slow');
>
> > On Feb 12, 6:51 pm, James wrote:
>
> > > That's prob
#x27;#recent_activity tbody'))).slideDown('slow').fadeIn('slow');
>
> > On Feb 12, 6:51 pm, James wrote:
>
> > > That's probably because you're using the "first-child" of the ,
> > > which is just the first .
> > > M
I have a table that is setup with a tbody tag.
If I run the following:
$("#recent_activity tbody").prepend( 'Testing this func' );
I get a new row spanning 7 columns
If I prepend this:
$("#recent_activity tbody").prepend( 'Testing this func' );
Then try to show it, with something like:
$(".aj
body tr td.date:first").text();
>
> On Feb 12, 9:13 am, Mark Steudel wrote:
>
> > I have a table like so:
>
> >
> >
> >
> > t1
> > t2
> >
> >
> >
> >
> > value
> > 2008-09-01 <--- want this content
> &
I have a table like so:
t1
t2
value
2008-09-01 <--- want this content
value
2008-09-01
And I want to try and get the first td with class date, I've tried the
following and I get close, but I think I'm just missing something
easy:
$('#recent_activity tbody:first-child .activity_date'
type=submit]').click(function(event)
> {
> var element = event.target;
> alert($(element).attr('id'));
> return false;
>
> });
>
> -Hector
>
> On Tue, Nov 18, 2008 at 1:05 PM, Mark Steudel <[EMAIL PROTECTED]> wrote:
>
> > Hey he
; var element = event.target;
> $(element).attr('id'); // returns the id of the element
> element.getAttribute('id'); // also returns the id in native javascript, but
> does not work in IE (of course...)
>
> I hope this helps! :)
>
> -Hector
>
> On Tue
ds.
> var element = event.target;
> $(element).attr('id'); // returns the id of the element
> element.getAttribute('id'); // also returns the id in native javascript, but
> does not work in IE (of course...)
>
> I hope this helps! :)
>
> -Hector
>
> On Tue, N
ent = event.target;
>
> });
>
> For more info check out the Events guide:http://docs.jquery.com/Events_(Guide)
>
> -Hector
>
> On Tue, Nov 18, 2008 at 10:47 AM, Mark Steudel <[EMAIL PROTECTED]> wrote:
>
> > Hi I have a form that has two
Hi I have a form that has two submit buttons I am utilizing the
following ajaxSubmit code:
$("#form").submit( function() {
$(this).ajaxSubmit({
target: '#response'
});
return false;
}
);
Inside the submit function is th
Let's say we have the following piece of code:
$.post("/scripts/admin.course.php", { elemname: value1, elemname2:
value2 } , function(data){} );
Is there a way to dynamically set the field name?
e.g.
var elemname = 'newname';
$.post("/scripts/admin.course.php", { elemname: value1, elemname2:
v
Thanks guys I'll try that out. Appreciate the help!
Mark
On Sep 8, 5:52 pm, MorningZ <[EMAIL PROTECTED]> wrote:
> Building on what Dave posts:
>
> $(document).ready(function(){
> var url = '/scripts/orders.php';
> var returnUrl = '/admin/dashboard';
> function finish( me
Thanks again, tried this out and everything worked great. Amazing what
happens when you do things the right way. :)
On Sep 8, 5:52 pm, MorningZ <[EMAIL PROTECTED]> wrote:
> Building on what Dave posts:
>
> $(document).ready(function(){
> var url = '/scripts/orders.php';
> var retu
Oh .effect is part of the Jquery ui library. I wanted a field to
briefly flash letting the user know something has changed, but then
the client wanted the page to redirect, so I can probably take out the
effect.
On Sep 8, 5:52 pm, MorningZ <[EMAIL PROTECTED]> wrote:
> Building on what Dave posts:
I have the below code, and it works, until I put the js redirect in.
Why is this happening? I thought the, function gets called after a
succesful ajax call ... anyway a bit of help would be greatly
appreciated.
$(document).ready(function(){
var url = '/scripts/orders.php';
var re
18 matches
Mail list logo