But how do i make this work in the onclick event? adding the ID of the DB entry? and requesting for the new adres, because a while mysql_fetch_row statement is making the adress list
Main Topics
Browse All TopicsAlright i have this list of e-mail adresses and this button to change them,
usually i load a new page using the id of the adress and fill in the information and have them use
a form to edit the adress etc.
In this case, i only want to edit the adres, nothing else, just 1 box. So i was hoping i could do it with javascript.
something like:
<a href='javascript:onClick=w
Only now i have to get it to forward the information to "adresses.php?id=<?php echo($row[0]); ?>"
Is this even possible with this simple javascript?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I've done this:
<head>
<script type="text/javaScript">
function change_adress(adres_id, old_adres) {
alert("boo");
advAJAX.get({
url: "adressen_more.php",
parameters : {
"var1" : adres_id,
"var2" : window.prompt("Nieuw email adres:", old_adres)
},
onSuccess : function(obj) { alert(obj.responseText); },
onError : function(obj) { alert("Error: " + obj.status); },
});
}
</script>
</head>
<body>
<td width=300><center><font style='font-family: verdana; font-size: 9pt; color: black;'><a class='menu' href="javascript:onclick(c
</body>
but it doesn't work
Business Accounts
Answer for Membership
by: flashtPosted on 2007-02-27 at 01:42:48ID: 18615636
It is possible with Ajax ... ndex-en.ht m
Try here: http://advajax.anakin.us/i