skip to Main Content

Jquery ajax – How to get value of a tag inside modal popup

I have the following code and i want the value from a tag. <div class="modal fade show" id="myModal" tabindex="-1" role="dialog" aria- labelledby="myModalLabel" style="display: block;"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span></button> <h4 class="modal-title"…

VIEW QUESTION

Laravel Get File Contents of Image but Not Working on Production Environment – CentOS

My code bellow working on localhost development <img class="img-fluid rounded-circle" src="{{ url('image?type=user&file='.Auth::user()->picture_file.'&mime='.Auth::user()->picture_mime) }}" alt="Image Description"> will access imageController with get method using this link image?type=user&file=USER000053.png&mime=image/png class ImageController extends BaseController { public function get(Request $request){ $file=Storage::disk($request->type)->get($request->file); return response($file,200)->header('content-Type',$request->mime); } } bellow…

VIEW QUESTION

Hide/Show DIV based on option not working – Shopify

JS beginner here so any help is appreciated. I am trying to get show/hide DIV based on JS. I am using the following: HTML <Select id="single-option-selector-product-template-0"> <option value="White">White</option> <option value="Navy">Navy</option> <option value="Heather Ash">Heather Ash</option> <option value="Heather Grey">Heather Grey</option> </Select> <div…

VIEW QUESTION
Back To Top
Search