I simply have to delete the records from the table, but problem what I am 
facing is : if the function would not be get called then how will I achieve 
this?

On Monday, 19 November 2012 19:31:53 UTC+5:30, Niphlod wrote:
>
> now you're the one that needs explaining it further :P
> I assume that just going to the "test" function and return back would not 
> be enough ? (i.e. a simple _href=URL('test') on that button)
>
> On Monday, November 19, 2012 2:56:36 PM UTC+1, Amit wrote:
>>
>> upon clicking the button , I need to make query to db and delete the 
>> records...
>>
>> On Monday, 19 November 2012 19:23:54 UTC+5:30, Niphlod wrote:
>>>
>>> the _onclick parameter is "translated" to just a plain onclick attribute 
>>> of the tag you're using.
>>>
>>> When you do in HTML <a href='#' onclick='test'>mylink</a> nothing will 
>>> happen. 
>>> an _onclick of "alert('clicked me')" will fire an alert box (language: 
>>> javascript).
>>>
>>> What do you need to do upon clicking that button ?
>>
>>

-- 



Reply via email to