I am using a plugin for modal window. What I am doing is, clicking on an anchor, modal shows and displays clicked anchor text in an input field to enable user changing it. What I want to do is, as user type new anchor text to input field inside the modal, let anchor text changes as-you-type inside the main page. Need advice to reach main page from a modal window.
Share
the plugin only creates an additional
<div>on the bottom of your<body>tag (see the classes’ names using inspect element). it is still in the same file. so you can access the anchor’s id using jQuery selector. set the text using$("#yourAnchorID").html("your new text")hope that helps