Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // JAVA SIDE
- aj('Suggestions', 'getTheaterSuggestions', {experience: experienceVal, style: styleVal, passion: passionVal, money: moneyVal},
- {
- callback: function(xhr)
- {
- //var result = $.parseJSON(xhr);
- //alert(result);
- $('#museum-result').html(xhr.responseText);
- addRolloverEffect('theater-result');
- createRoundbox('theater-result');
- }
- });
- // PHP SIDE
- static function getTheaterSuggestions()
- {
- $service_category_id = 4;
- $services = Suggestions::getResultSet($service_category_id);
- //if($services)
- //{
- $templateOutput = Suggestions::outputTemplate($service_category_id, $services);
- return json_encode($templateOutput);
- //}
- //else return json_encode(");
- }
Add Comment
Please, Sign In to add comment