Yes it worked!
On Jul 8, 10:09 am, "brightdad...@googlemail.com"
wrote:
> Hi Experts,
>
> I am trying to conditionally test what the value of href is equal to.
>
> like this;
>
> if($(this).find('a').attr("href")=="map.html"){
> a
Hi Experts,
I am trying to conditionally test what the value of href is equal to.
like this;
if($(this).find('a').attr("href")=="map.html"){
alert("yes");
}
This doesn't work. Do anyone knows what i am doing wrong.
Psuedocode please.
Thanks for the suggestion Lauri.
I have tried as asuggested and still dont see anything happening.
I have tried this too and doesn't seem to work:
$("#operator").autocomplete("auto.php",
{
delay:10,
lineSeparator: "^",
cacheLength: 10,
matchSubset:1,
matchContains:1,
onFindValue:function(){
alert("am here");
var a
I have added for each loop to supplement the return result from the
php and it did the trick.
On Mar 12, 1:23 pm, "brightdad...@googlemail.com"
wrote:
> I have gone through the autocomplete documentation and therefore
> changed the code to look like this;
>
>
I have gone through the autocomplete documentation and therefore
changed the code to look like this;
function selectItem(li) {
findValue(li);
}
function findValue(li) {
if( li == null ) return alert("No match!");
Hi Experts,
I am trying to do something like this;
$("form#submit").submit(function(){
var name = $('#name').attr('value');
var $out = $("#message");
//Send the request
$.ajax({
type: "POST",
url: "post.php",
data: "oname
7 matches
Mail list logo