Question
Create a simple form with text inputs for Blog Title, Blog Email and Blog Content 1 Add a Submit Blog button that when clicked will
Create a simple form with text inputs for Blog Title, Blog Email and Blog Content
1 Add a "Submit Blog" button that when clicked will fire a JS function.
2 The click handler for the button should be created as a property and function expression of the sabio.page.handlers object that is available to you.
sabio.page.handlers.someFunctionName = function(){
//...
}
The wiring up of the events/event handlers should take place inside the sabio.page.startUp function.
3 The click handler should do a number of things: read the values from the inputs insert these values into a different part of the DOM hide the form show this new part of the DOM
4 Write a second click handler to handle the "Back" functionality.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started