[SOLVED] Way to pass parameters to ajaxsource?

[SOLVED] Way to pass parameters to ajaxsource?

MrBaseball34MrBaseball34 Posts: 96Questions: 0Answers: 0
edited March 2011 in General
How would I be able to pass parameters to the ajax source in server-side processing?

I am using a Smarty template and have the value for the parameter in a Smarty variable. I need
to pass it to my ajax script.

Replies

  • MrBaseball34MrBaseball34 Posts: 96Questions: 0Answers: 0
    Nevermind. I was able to do it by moving the initialization code into my Smarty template.
  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Another option for anyone who looks this up would be to use fnServerData: http://datatables.net/usage/callbacks#fnServerData

    Allan
This discussion has been closed.