I am creating a gallery of images using the responsivefilemanager plugin and there is a problem that I can not solve.
See this image:
Clickingthebluebutton(Withthefoldersymbol)opensaModalinwhichIcancreatefolders,uploadimagesetc.WhenIselectthefolder,thescreenclosesandthefolderpathisreturnedintheInput,butI'mhavingahardtimedealingwiththis,becauseIactuallyonlywantedtheendoftheURL(foldername).
SoIask,howcanIresolvethissituation?IneedtogetthevaluewithoutsubmittingsoIcannotuse$_GET
...
Hereisthecodeformybutton
<divclass="col-xs-4 col-md-4">
<label for="pasta">Pasta:</label>
<!-- Campo Pasta e Seleção de Imagens-->
<div class="input-group">
<span clas="input-group-btn text-center">
<a href=<?=(Empty($dir))?"/assets/libs/filemanager/dialog.php?type=2&field_id=folder": "/".$dir."/assets/libs/filemanager/dialog.php?type=2?type=2&field_id=folder"?> class="btn btn-info fancy" data-fancybox-type="iframe">
<i class="fa fa-folder-open-o"></i>
</a>
</span>
<input type="text" placeholder="Pasta" class="form-control" name="folder" id="folder" onchange="buscar('medium')" value="">
</div>
</div>