Results 1 to 5 of 5
Help-a href hide them please Forum: Website Scripts ForumReplies: 7
09-06-2008, 02:49 AM #1
am doing one program, where user types an alphabet or name in text field, then below at span , all the data related to alphabet or name will be retrived.
so now i want to do is , in span, i want an href (link) , so wen i click on that link, i will call onClick() and i will alert the particular name .
<a href="#" onClick="return view();" id="aa"><?php $response=$hint; ?></a>
what should i do,
thanks in advance
09-06-2008, 03:07 AM #2
09-06-2008, 03:11 AM #3
ya, jus did that
but am not able to enter into function view()
1st line of function i hav put line, alert("in function");
but onClick event does not enter that function.
09-06-2008, 03:34 AM #4
09-08-2008, 09:13 AM #5
You don't have anything entered in for a link. There is nothing for you to click on. How are you getting to the function as is?
All this line does is assign the variable. Nothing will show up on screen: <?php $response=$hint; ?>