Answer the question
In order to leave comments, you need to log in
How to load HTML code from database?
Good evening gentlemen.
At the moment I have the HTML code in the database.
How to display it on href click?
The person advised doing this: plnkr.co/edit/KLhb0d6zTqIODUfmNUdG?p=preview
But there we load data from the file, I have data in the database.
<!-- Menu -->
<section id="about" class="about">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<div id="Navigation">
<ul class="Navigation">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">My Portfolio</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
</ul>
</div>
</div>
</div>
<!-- /.row -->
</div>
<!-- /.container -->
@foreach($dropmenu as $dropone)
{!! $dropone->action !!}
@endforeach
Answer the question
In order to leave comments, you need to log in
by clicking on the button, we send the parameters for the request to the database by post. After that, the method collects data from the database and forms the answer in the form you need, which you substitute in the right place.
api.jquery.com/jquery.ajax
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question