+ 1

Dynamic pages with jquery and javascript

hello i want to make dynamic pages for each of my groups. is it possible only with jquery javascript and the firebase database?

2nd Dec 2016, 12:58 PM
Moritz Kos
Moritz Kos - avatar
5 ответов
+ 4
Well, you can use this. I have use to get data from url and post it in my webpage. You can use a single webpage and use different section of webpage as a normal page. use object.hide() function from jQuery. to hide contains and show it one by one. By doing this it will be easy as well a fast web site. Use type in below ajax as post. If you like I want you to use a server side script for MySQL. It will more safe and use ajax and jQuery to get data from a page. I have created a simple read news online in jQuery. look at once hope you understand how it works. For more information please comment. I love to help. $(document).ready(function(){ $.ajax({ type: "GET", url: "http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=8&q=http%3A%2F%2Fnews.google.com%2Fnews%3Foutput%3Drss", dataType: "jsonp", success: function(data){ $(data.responseData.feed.entries).each(function(index, entry) { var item_html = '<li><a target="_blank" href="' + entry.link + '">' + entry.title + '<br><div id ="hello">'+entry.content+'<\div></a><\li><br>'; $('#rss').append(item_html); }); }, error: function(xhr, status) { $("#rss").html(status); } }); });
2nd Dec 2016, 1:59 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 3
What is your group mean and what do you want in dynamic. Yes they can but please explain it.
2nd Dec 2016, 1:06 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 2
I don't know more about firebase. You should ask it in stackoverflow.com Remember ask question as what you have tried with code in stackoverflow otherwise you will get no answer or a downvote may be question can be banded or close. Sorry😢😢
2nd Dec 2016, 2:18 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 1
so one user should Be able to fill out a form and clicks on a submit button then the informations(shortdescription,Description, task etc.) get to a database. Now I want that each task has it own page. So when I click on a submit button the page and a unqiue button for this page ist created i hope you understand??
2nd Dec 2016, 1:15 PM
Moritz Kos
Moritz Kos - avatar
0
hey thanks I want to use firebase so mysql isnt able. i already Did it in php an mysql and it works fine on my localhost but now I want to bring it mobil and need to do it in js with firebase. maybe you can help me with that
2nd Dec 2016, 2:04 PM
Moritz Kos
Moritz Kos - avatar