Reported height of DIV is changing upon refresh with Javascript/Jquery

I have a bit of Javascript calculating the position of a certain DIV. This JS is within some other JS and jQuery within a document.ready. Here is the HTML. <div id=”outer-box”> <table id=”text-preview”> <tr> <td> TESTING THIS. </td> </tr> </table> </div> Here is the javascript: var element = document.getElementById(‘text-preview’); var positionInfo = element.getBoundingClientRect(); var outerelement…

Reported height of DIV is changing upon refresh with Javascript/Jquery

I have a bit of Javascript calculating the position of a certain DIV. This JS is within some other JS and jQuery within a document.ready. Here is the HTML. <div id=”outer-box”> <table id=”text-preview”> <tr> <td> TESTING THIS. </td> </tr> </table> </div> Here is the javascript: var element = document.getElementById(‘text-preview’); var positionInfo = element.getBoundingClientRect(); var outerelement…

I having issues is storing image field data in jquery cloning with laravel5.8

I have name, email and image input fields in a view file. I use jquery cloning in the view file. How to store the image, name and email values in the database by using laravel 5.8 creating a method? This is my code: public function addMorePost(Request $request) { $request->validate([ ‘addmore.*.name’ => ‘required’, ‘addmore.*.qty’ => ‘required’,…