Laravel5.3 custom paging jump how to write?

customized the page jump template in resources/views/vendor/custom.blade.php, {{$controls- > links ("vendor/pagination/custom")}} to render the page, but the jump action does not know how to write in JS? Or is there another solution?

<a href="{{ $paginator->previousPageUrl() . "&limit=" . $paginator->perPage() }}"></a>
The

source code is written this way, but the jump is an input,$paginator is a php variable layout how to concatenate this a link, there may be another way.

 {{--  --}}
<ul class="pagination pagination-sm no-margin no-padding pull-right">
    <li>
        <span data-toggle="tooltip" data-placement="bottom" title="">
             <input type="text" class="text-center no-padding" value="{{ $paginator->currentPage() }}" id="customPage" data-total-page="{{ $paginator->lastPage() }}" style="width: 50px;">  /  {{ $paginator->lastPage() }} 
        </span>
    </li>
    <li>
        <span data-toggle="tooltip" data-placement="bottom" title="">
             <input type="text" class="text-center no-padding" value="{{ $paginator->perPage() }}" id="customLimit" data-total="{{ $paginator->total() }}" style="width: 50px;">  /  {{ $paginator->total() }} 
        </span>
    </li>
</ul>
<script>

this is the jump input box,

<ul class="pagination  no-margin pull-right">
    {{--  --}}
    @if ($paginator->onFirstPage())
        <li class="disabled">
            <span></span>
        </li>
    @else
        <li>
            <a href="{{ $paginator->url(1) . "&limit=" . $paginator->perPage() }}"></a>
        </li>
    @endif

    {{--  --}}
    @if ($paginator->onFirstPage())
        <li class="disabled">
            <span></span>
        </li>
    @else
        <li>
            <a href="{{ $paginator->previousPageUrl() . "&limit=" . $paginator->perPage() }}"></a>
        </li>
    @endif

    {{-- Pagination Elements --}}
    @foreach ($elements as $element)
    <!-- "Three Dots" Separator -->
        @if (is_string($element))
            <li class="disabled"><span>{{ $element }}</span></li>
        @endif

    <!-- Array Of Links -->
        @if (is_array($element))
            @foreach ($element as $page => $url)
                @if ($page == $paginator->currentPage())
                    <li class="active"><span>{{ $page }}</span></li>
                @else
                    <li><a href="{{ $url . "&limit=" . $paginator->perPage() }}">{{ $page }}</a></li>
                @endif
            @endforeach
        @endif
    @endforeach

    {{--  --}}
    @if ($paginator->hasMorePages())
        <li>
            <a href="{{ $paginator->nextPageUrl() . "&limit=" . $paginator->perPage() }}"></a>
        </li>
    @else
        <li class="disabled">
            <span></span>
        </li>
    @endif

    {{--  --}}
    @if ($paginator->hasMorePages())
        <li>
            <a href="{{ $paginator->url($paginator->lastPage()) . "&limit=" . $paginator->perPage() }}"></a>
        </li>
    @else
        <li class="disabled">
            <span></span>
        </li>
    @endif
</ul>

this is the code of the previous page, the first page, the next page, and the last page. The style shown is as follows:
clipboard.png

what I want to achieve is that after the first input box is entered, press enter to automatically jump to the specified page and ask for guidance!


isn't the jump action location.href in js?


have you solved this problem

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8a0f3-fa7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8a0f3-fa7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?