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

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -