Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var minlength = 3;
- $("#searchbrands").keyup(function () {
- var that = this,
- value = $(this).val();
- if (value.length >= minlength ) {
- if (searchRequest != null)
- searchRequest.abort();
- searchRequest = $.ajax({
- });
- }
- });
- @if(!empty($brands))
- @foreach($brands as $id => $brand)
- <a class="fontsizs text-uppercase" id="product_brand" onclick="brandfilter({{ $id }});" href="javascript:void(0)" >{{$brand}}</a>
- @endforeach
- @endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement