Hello
can some one tell me how build Superfish menu to be RTL direction
or
the "ul" tag (and also modify JS accordingly), in that way it won't
grab all the "ul li" on the page.
I hope this helps,
Thanks,
Abdullah
On May 13, 3:00 pm, Troy wrote:
> Hello,
>
> I'm relatively new to jquery, so I have what I hope will be a simple
>
Hi there,
You could the following a try:
$(document).ready(function() {
var index = $("#mymenu ul li").index( $("li:has(#link_y)") );
// index will store the 'index' of tag that has id=link_y
});
Hope this helps,
Thanks,
Abdullah.
On May 14, 8:31 am, Jo
quot;process.php", $(this).serialize(), function(data) {
alert( data ) ; /// alert data from server, or do something else
});
return false;
});
You can also use $.ajax instead of $.post method. I hope it helps,
Thanks,
Abdullah
On Mar 29, 4:34 am, iceangel89
ent-Type: text/plain');
echo '{ success : "1" , id : "'.$_GET['id'].' ", type: ".$_GET
['type'].'" }';
// or you can use json_encode (requires PHP 5.2)
exit;
// PHP - json_encode,
http://ca.php.net/json_encode
There are s
turn false, otherwise
the form just get submitted.
after this line...
alert("You have to agree to our terms and conditions to make a
purchase!");
Add this:
return false;
I hope it helps,
Thanks,
Abdullah.
On Apr 3, 3:16 am, osu wrote:
> Hi,
>
> I'm trying to valida
ng:
$.get('../sample.html', function(data) {
$('#thisDiv').text( data );
});
With this approach, the html entities (<,&,> etc.) will be converted
to their appropriate characters and then injected to $('#thisDiv').
I hope this helps,
Thanks,
Abdullah.
On Apr 3, 1
f ($("span.total:contains('1')").length > 0 ) {
$('div.header').hide();
}
// $("span.total:contains('1')") matches all elements containing '1',
so would you have to use length to check the number of matched element
is more than
8 matches
Mail list logo