So I\'m working on a WordPress website. I\'m having a bit of a difficult time getting the user input to update the database.
JS:
var ID = $(this).at
$wpdb->update( 'table', array( 'column' => $name), array( 'ID' => 1 ), array( '%s'), array( '%d' ) );