[eluser]SPeed_FANat1c[/eluser]
[quote author="meera" date="1286614687"]Ya,like this only,but i use this i am not getting any responce.[/quote]
I don't understand what exactly don't you get - controller don't get an id or post method don't alert data?
Of course if you want post function to alert data you must echo it in the controller function which you called in jQuery post. So in your example you called function editnew
so you function must look like this:
Code:
function editnew()
{
//you code...
echo 'some_data';
}
This is an example with string, but if you want some data structure then you can use json as someone said.