javascript - Change URL parameters -


i have url:

site.fwx?position=1&archiveid=5000&columns=5&rows=20&sorting=modifiedtimeasc 

what need able change 'rows' url param value specify, lets 10. , if 'rows' doesn't exist, need add end of url , add value i've specified (10).

i think want query plugin.

e.g.:

window.location.search = jquery.query.set("rows", 10); 

this work regardless of current state of rows.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -