RMP Posted August 31, 2016 Share Posted August 31, 2016 http://stackoverflow.com/questions/39230233/html-and-javascript-dashboard I have created HTML tables as below by hard coded the values: Name weekhandled ticket monthlyhandled ticket daily handledticket credits xyz 1 2 1 1 My requirement is "I want to achieve this dashboard directly on browser without hard coding the values.it should directly taken from external file like javascript. I have little knowledge on JavaScript .is it possible to attain this requirement using JavaScript itself? Please give me some idea to drive this requirement?.like any similar examples 1 Link to comment Share on other sites More sharing options...
Ingolme Posted August 31, 2016 Share Posted August 31, 2016 You would do best with a server-side language like PHP. PHP can load data from other sources and put it into HTML. Link to comment Share on other sites More sharing options...
RMP Posted August 31, 2016 Author Share Posted August 31, 2016 please provide me the way to achieve this through javascript itself? Suggest me any examples related to my requirement or sample base JavaScript code to get a clear picture to start. Link to comment Share on other sites More sharing options...
davej Posted August 31, 2016 Share Posted August 31, 2016 You want to display a table built from stored data -- but who creates this data? How often is it updated? Does every user see the same data? Link to comment Share on other sites More sharing options...
RMP Posted August 31, 2016 Author Share Posted August 31, 2016 You want to display a table built from stored data -- but who creates this data? How often is it updated? Does every user see the same data? yes..I want to display the data from stored data and is updated in a daily basis.. yes. Every user can see the same data perhaps if they have access on that data. but my requirement is to create a dashboard using HTML table and display the data on runtime with help of javascript ? Link to comment Share on other sites More sharing options...
davej Posted August 31, 2016 Share Posted August 31, 2016 Do you simply want to share a file, such as an Excel file? Link to comment Share on other sites More sharing options...
RMP Posted August 31, 2016 Author Share Posted August 31, 2016 Do you simply want to share a file, such as an Excel file? please refine your question more clearable. Link to comment Share on other sites More sharing options...
dsonesuk Posted August 31, 2016 Share Posted August 31, 2016 How are you going to store data? xml file? what! That seems the logical option, then use js to loop through data fields to reproduce html table. Link to comment Share on other sites More sharing options...
dsonesuk Posted August 31, 2016 Share Posted August 31, 2016 http://www.w3schools.com/xml/tryit.asp?filename=tryxml_display_table xml file used http://www.w3schools.com/xml/cd_catalog.xml Link to comment Share on other sites More sharing options...
marcushogan.rss Posted September 9, 2016 Share Posted September 9, 2016 javascript no connnect SQL . YOu can use ajax Link to comment Share on other sites More sharing options...
RMP Posted September 16, 2016 Author Share Posted September 16, 2016 please provide me a quick help on how to save ASP file on web server?? My requirement is it for generating XML files from the database, I should save piece of code as ASP file on web server Link to comment Share on other sites More sharing options...
dsonesuk Posted September 16, 2016 Share Posted September 16, 2016 Download ftp program such as filezilla, enter ftp host address and password provided by host provider. Upload file to directory as required. Link to comment Share on other sites More sharing options...
RMP Posted September 16, 2016 Author Share Posted September 16, 2016 please provide any examples on this?i don't have much idea on it? Link to comment Share on other sites More sharing options...
dsonesuk Posted September 16, 2016 Share Posted September 16, 2016 https://www.google.co.uk/search?q=filezilla+how+to+use&ie=utf-8&oe=utf-8&client=firefox-b&gfe_rd=cr&ei=4a_bV4SrONGT8Qf5npTICQ Link to comment Share on other sites More sharing options...
RMP Posted September 24, 2016 Author Share Posted September 24, 2016 i have sample Code like this.Please let me know how to connect Mysql DB from these ASP file.i have installed MySQLODBC driver 5 on my machine. SQL="select fname,lname from Guest" set rs=Conn.Execute(SQL) response.write("") response.write("") while (not rs.EOF) response.write("") response.write("" & rs("fname") & "") response.write("" & rs("lname") & "") response.write("") rs.MoveNext() wend rs.close() conn.close() response.write("") %> Link to comment Share on other sites More sharing options...
justsomeguy Posted September 26, 2016 Share Posted September 26, 2016 There are a ton of resources if you search online. e.g.: http://asp.net-tutorials.com/mysql/getting-started/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now