jQuery.url().param in /www/rega/pages/index.htm bleibt leer
See original GitHub issueDescribe the bug
Additional parameters to index.htm
are left out.
To Reproduce
Steps to reproduce the behavior:
Open http://ccu/pages/index.htm?sid=@...@&debug=true
in a browser
The variable urlDebug
stays undefined.
Expected behavior
Set urlDebug
to the value of the parameter debug
as it is implemented in
https://github.com/eq-3/occu/blob/master/WebUI/www/rega/pages/index.htm#L110
System information (please complete the following information):
- Version [RaspberryMatic 3.47.22.20191026]
- RaspberryPi3
Additional context The feature is necessary for webui development
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
How to get URL parameter using jQuery or plain JavaScript?
Best solution here. var getUrlParameter = function getUrlParameter(sParam) { var sPageURL = window.location.search.substring(1), ...
Read more >jQuery.param() | jQuery API Documentation
Description: Create a serialized representation of an array, a plain object, or a jQuery object suitable for use in a URL query string...
Read more >Get URL parameters using jQuery - SitePoint
jQuery code snippet to get the dynamic variables stored in the url as parameters and store them as JavaScript variables ready for use...
Read more >jQuery param() Method - W3Schools
Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@psi-4ward There are of course better URL parser classes these days, but we are not here to rewrite the CCU WebUI from scratch. So replacing the existing one with the latest 2.3.1 version and integrating the suggested fix is already invasive enough, I guess.
Ah, isn’t GitHub and its PullRequests not a nice thing. Here I found a pull request on the url parser class that seems to fix the issue (already suggested 2014):
https://github.com/allmarkedup/purl/pull/83