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

c++ - CPP, 'X' button listener -

shared memory - gstreamer shmsrc and shmsink with h264 data -

.net - Bulk insert via Dapper is slower than inserting rows one-by-one -