Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

JQuery, Ajax, HTML 4 Updating data As you drag or resize the styled paragraph, y

ID: 3547288 • Letter: J

Question

JQuery, Ajax, HTML


4

Updating data As you drag or resize the styled paragraph, you should make an Ajax call to update the data in the database The writeDimensions script needs 3 inputs: name, width, and height The writePosition script needs 3 inputs: name, x, and y The getDataXML script needs 1 input: name; it returns an XML document The getDataJSON script needs 1 input: name; it returns a JSON string Suggested plan to implement/code this project Style the paragraph so you can see it well - test § Make it draggable (default) - test Make it resizable (default) - test - Set up a callback function when dragged - test Set up a callback function when resized - test Callback function makes an ajax call (and works) with hard coded data to update the position - run check.php to test - Callback function makes an ajax call (and works) with hard coded data to update the dimensions - run check.php to test - Callback function makes an ajax call (and works) with dynamic data to update the position - run check.php to test - Callback function makes an ajax call (and works) with dynamic data to update the dimensions - run check.php to test - When the page loads, make an ajax call (and works) to dimension and position the paragraph based on what is in the database - test -

Explanation / Answer

JQuery, Ajax, HTML 4 Updating data As you drag or resize the styled paragraph, y