How can I use the CHtml::ajaxLink function to send data from a textBox in the ajax request?
What I mean is that in the $ajaxOptions array I can specify the data to pass in the ajax request, but the value of this data comes from the PHP. I cannot put a javascript function there to collect the data from textBox, because the JS is escaped.
So for example if I put as the value 'document.getElementById('textbox').value()', it will send that actual string, and not the value of textbox.