Call a json function after ajax sourced data

Call a json function after ajax sourced data

FireFoxIIFireFoxII Posts: 17Questions: 10Answers: 0

I'm using a table with Ajax sourced data from a php script...

Something like this https://datatables.net/examples/server_side/post.html

If in the source I have a column with a select like this

<select name="type">
  <option vaue='1'>1</option>
  <option vaue='2'>2</option>
</select>

Then I can't call a function like this

  $('[name="type"]').change(function(){ alert('example') })

How to resolve that?

This discussion has been closed.