Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getCitiesFromState(estado) {
- document.querySelector('select[name=cities]').value="";
- $.ajax({
- url: ROOT + LANG + "/facebook/getCitiesFromState",
- dataType: "html",
- type: 'POST',
- data: {
- estado: estado
- },
- success: function (html) {
- $("#cidadesSelect").html(html);
- }
- });
- }
- function getCitiesFromState(estado) {
- document.querySelector('select[name=cities]').value="";
- $.ajax({
- url: ROOT + LANG + "/facebook/getCitiesFromState",
- dataType: "html",
- type: 'POST',
- data: {
- estado: estado
- },
- success: function (html) {
- $("#cidadesSelect").html(html);
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement