question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

jQuery.url().param in /www/rega/pages/index.htm bleibt leer

See original GitHub issue

Describe 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:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
jens-mauscommented, Nov 23, 2019

@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.

1reaction
jens-mauscommented, Nov 23, 2019

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found