Hi Aaron,
The following code should help:
$(document).ready(function(){
$('area').each(function(){
$(this).attr("href", "#");
$(this).click(function(){
$('#ajaxresult').load('map.php', {'state':$(this).attr('alt')});
return false;
});
});
well what can I do to use javascript to submit a name to my php
code???
I want to use the image map as a gui so I want it to act just like a
form where I can name each state and then pass that name using post
method to my php script which will do a database lookup and then once
the list is creat
Ya I do have that and seen it before I currently do have it and have
colored it.
The problem is that the image map has links to state web pages I don't
want to have to create a web page for every state. It would take up
room and it really doesn't need.
I want something that I can just have th
Yes I already have that downloaded before it provided a non colored
map of the U.S and I just colored it in.
The problem I face is I don't want to use the image map to link to
different files. I don't want to use links.
I want to use php in a way where when the person clicks a state the
image m
4 matches
Mail list logo