Question
The pop up screen shows up when the page starts even the user didn't click on add meal button(which is the only time it should
The pop up screen shows up when the page starts even the user didn't click on add meal button(which is the only time it should show)
==Here is my html==
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@page contentType="text/html" pageEncoding="UTF-8"%>
Add Meal Item
<%---- Add Ingredient ----%>
==my js==
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */
$('#myModal').modal(function(event){event.stopPropagation();}); $(function () { $(function () { $("#myMopup").modal("hide"); }); });
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