1,778
questions
0
votes
1
answer
25
views
Maven minify is stripping whitespace out of a url string in CSS
We are using minify-maven-plugin to minimize our Javascript and CSS files. Recently we encountered an error where it is stripping the whitespace out of a URL string which makes it unusable. This ...
0
votes
0
answers
15
views
Having trouble clicking on Yahoo UI (YUI) checkbox with selenium
I am trying to use selenium to webscrape a page but I cannot get it to work on a checkbox menu. I have tried to .click() on every element and all of them return "ElementNotInteractableException: ...
0
votes
1
answer
91
views
YUI3 Get children of a element
I'm trying to get all children of a YUI3 Element like this
Y.one(document.body).children
// results in undefined
But I see a children attribute here: https://clarle.github.io/yui3/yui/docs/api/...
1
vote
1
answer
124
views
How to enable a checkbox using AUI script
This is the code to get the value of a checkbox
var email = A.one("#<portlet:namespace/>email").attr('checked');
What is the code to set/enable the checkbox with a tick ?
...
0
votes
1
answer
212
views
How to use Yahoo YUI in SuiteCRM
I am learning SuiteCRM and have a longway to go. I have never used Yahoo's YUI library.
I am wanting to create a popup dialog in the AOS_Quotes Edit View page with some ajax calls and noticed in some ...
0
votes
1
answer
437
views
Run Code After Squarespace Popup Event Listener/Trigger
I need to run some custom JS after the modal popup is loaded into the viewport. What's the best way to piggy-back onto whatever event is triggered?
Once the pop-up is loaded, I need to execute ...
-1
votes
1
answer
129
views
YUI (YAHOO) blocking my UI when i show the panel
i have a problem with this YUI modal , when i clic the button , it show the panel but is blocking the UI , and i cannot understand how to configure or prevent that behavior this is the code :
<asp:...
2
votes
2
answers
1k
views
Page layout rendered differently on github-pages
I created a user site on github-pages. For the layout, I am using yui to specify proportions. The layout seems to render correctly when viewed locally (opening index.html in a browser) but incorrectly ...
0
votes
1
answer
349
views
Set Default SquareSpace Product Variants failing to get YUI element
I'm trying to set the default options on a product on my Squarespace website.
I'm using the brine template.
Here is the website:
https://pear-nectarine-6mdf.squarespace.com/childrens-subscription
...
0
votes
0
answers
333
views
how to set aria-readonly to false for a table using jquery? i want to wrap the <td> inside <span> in document.rady function
Below code is copied from the chrome developer console , i want to enclose each td inside a span programmatically . i tried many was . i think aria-readonly atrribute of table is preventing me to wrap ...
0
votes
1
answer
691
views
Why do I get the error Y Not Defined Error in Squarespace
I am using a Javascript code to inject into a squarespace website but when I do, I get the error "uncaught referenceerror y is not defined". I'm trying to use Squarespace's Forms to write to ...
1
vote
1
answer
273
views
Change a datatable cell value to an input text with YUI
I'm working on a project with a javascript library YUI and JSP.
I'm trying to manipulate a YUI datatable, some cells of the table are select options and input text:
What I'm trying to do is to ...
1
vote
1
answer
92
views
Show Data in grid from DataSource in YUI?
I have attached my code in this question.
I am using YUI-3 for showing data in grid format from DataSource
I could not get data from datasource.But data passing from URL.
My grid showing No data ...
0
votes
1
answer
608
views
How to bundle js/css in legacy java web application
We have some older java web app's which are struts mvc based and we are using Maven for our build. We are looking into ways of bundling the static content such as js, css etc.
Ideally what we want ...
1
vote
0
answers
128
views
Override Javascript Function Expression
I have a scenario where I want to override/modify the javascript function expression. This is how the function expression looks like.
var func_1 = function func_1(){
// 300 lines of code
var ...