Question description
For this project you will modify a small AJAX script to add some additional capabilities.Β Ultimately, your project will consist of 5 files:proj7.html (the main project page)proj7.js (your JavaScript)message1.txtmessage2.txtmessage3.txtThe model you will use is theΒ Ajax Demo Program. Using that program as a foundation, do the following:Modify the message files so that your name will display somewhere in the message.Β Modify proj7.html so that the script is removed to a separate file (proj7.js)Modify the html file so that 3 additional buttons are placed on a line below the current buttons.Β These buttons will be labeled RED, BLUE, and BLACK.Modify the proj7.js script so that a single function is added to change the color of the text in the message.Β The buttons themselves should pass the desired color to the function when calling it, i.e. the function should handle any color passed to it.The project should work like a sample that will be shown to you in class.Β The change must be done using this method and NOT by refreshing the entire page.This is the code that will be adjusted:ajax.html
Writing a Similar Assignment?
Get a Scholar-Written Paper Matched to Your Brief
Every order is handled by a degree-holding expert in your subject β written to your exact rubric, fully original, and delivered ahead of your deadline.
Start My OrderLet AJAX change this text
Β test1.txt
There are several reasons you might want to use AJAX:
- Reduce the amount of data flowing from the server to the client
- Speed up the web page
- Make the application act more like a local app than a web page
- Allow filtering at the client end to prevent corrupted data from beingΒ sent to the server
test2.txt
Stuck on Your Assignment?
Cola Papers Experts Are Ready Right Now
Join thousands of students who submit confidently. Human-written, plagiarism-checked, and formatted to your institution's exact standards.
Most good web developers have many things in their toolboxes, including JavaScript, php, mysql, xml, and html. These tools all lead to robust, interactive web pages and add to the capability of the developer to to design flexible, artistic, and useful web pages.
test3.txt
Let AJAX change this text
This will show what the above code will look like:Β http://www.eiu-mis.net/samples/ajax/ajax.htmlAll that really needs to be done is to add aΒ RED, BLUE, and BLACK button horizontally under the message buttons and when those buttons are clicked it will change the color of the message shown regardless of which message is clicked.
Our Key Guarantees
- β 100% Plagiarism-Free
- β On-Time Delivery
- β Student-Friendly Pricing
- β Human-Written Papers
- β Free Revisions (14 days)
- β 24/7 Live Support