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.
ul class=filetree
li
!-- begin user content --
I have the following inputs
input type=text id=start_date value=2009-01-01 /br/
input type=text name=a id=a value=3 days class=interval
rel=a_preview/span id=a_preview/spanbr /
input type=text name=b id=b value=3 days class=interval
rel=b_preview/span id=b_preview/spanbr /
input
Actually sorry the values should be:
2009-01-04
2009-01-07
2009-01-10
not sure of its effects for a tr though compared to a div.
On Feb 12, 4:43 pm, Mark Steudel msteu...@gmail.com wrote:
I have a table that is setup with a tbody tag.
If I run the following:
$(#recent_activity tbody).prepend( 'tr class=ajaxtd
colspan=7Testing this func/td/tr
the first-child of the tr,
which is just the first td.
Maybe you intended to do:
$(.ajax).slideDown('slow')
?
I'm not sure of its effects for a tr though compared to a div.
On Feb 12, 4:43 pm, Mark Steudel msteu...@gmail.com wrote:
I have a table that is setup with a tbody tag
I have a table like so:
table id=recent_activity
thead
tr
tht1/th
tht2/th
/tr
/thead
tbody
tr
tdvalue/td
td class=date2008-09-01/td --- want this content
/tr
tr
tdvalue/td
td class=date2008-09-01/td
/tr
/tbody
/table
And I want to try and get the first td with class date, I've tried the
td.date:first).text();
On Feb 12, 9:13 am, Mark Steudel msteu...@gmail.com wrote:
I have a table like so:
table id=recent_activity
thead
tr
tht1/th
tht2/th
/tr
/thead
tbody
tr
tdvalue/td
td class=date2008-09-01/td --- want this content
/tr
tr
tdvalue/td
td class
I have a table that is setup with a tbody tag.
If I run the following:
$(#recent_activity tbody).prepend( 'tr class=ajaxtd
colspan=7Testing this func/td/tr' );
I get a new row spanning 7 columns
If I prepend this:
$(#recent_activity tbody).prepend( 'tr style=display:none
class=ajaxtd
18, 2008 at 1:05 PM, Mark Steudel [EMAIL PROTECTED] wrote:
Hey hector, first off thanks for all your help.
So I have the following:
$(#form).submit( function(event) {
var element = event.target;
alert( $(element).attr(id) );
return
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
://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 submit buttons I am utilizing the
following ajaxSubmit code:
$(#form).submit( function() {
$(this).ajaxSubmit
('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, Nov 18, 2008 at 11:51 AM, Mark Steudel [EMAIL PROTECTED] wrote:
Thanks that worked great. I don't
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, Nov 18, 2008 at 11:51 AM, Mark Steudel [EMAIL PROTECTED] wrote:
Thanks that worked great. I don't have much experience working
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:
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
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:
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 returnUrl
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( message )
18 matches
Mail list logo