@tbettinazziaxioma-it
@tbettinazziaxioma-it
Forum Replies Created
-
AuthorPosts
-
tbettinazzi@axioma.itParticipant
But with standard <button> onClick(“alert(this.form);”) works.
I need to launch a javascript passing it the containing form.
Tks
tbettinazzi@axioma.itParticipantI tried but this doesn’t solve my problem.
I tried with
<script>const button = document.querySelector(“#button#);
button.addEventListener(‘click’, function(event) {
alert(‘Ci sono ‘ + button.form);
});
</script
but button.form is undefined.Tried also with this.form, same result.
How can I solve.
Tks
- This reply was modified 3 weeks, 6 days ago by tbettinazzi@axioma.it.
- This reply was modified 3 weeks, 6 days ago by tbettinazzi@axioma.it.
tbettinazzi@axioma.itParticipantQuite huge problem.
Could You suggest an alternative way to accomplish it ?
Tks.
tbettinazzi@axioma.itParticipantIn my code I’ve
<button onClick=”testLogin(this.form) class=…>
where testLogin is a very simple js shown above.
When I substitute with
<smart-button onClick=”testLogin(this.form) class=…> seems that this.form is undefined and then the testLogin js fails telling me the variable is should receive is undefined.
Why this.form is undefined with smart-button ?
What’s the alternative ?
Tks
tbettinazzi@axioma.itParticipantIn mi html I’ve something like
<button formaction=”ConfiguratoreWeb” formmethod=”POST” class=……>
What’s the equivalent with <smart-button> if any ?
Tks
tbettinazzi@axioma.itParticipantThe difference seems to be in the smart-window.
The code is the same but in Your example is 450×480 in my implementation seems to be 1450×480.
I tried to set the window size but it’s ignored.
Tks
tbettinazzi@axioma.itParticipantAnyway it doesn’t seem to work (smartelements 20).
It still remains in the upperside left corner.
My html
<div><!DOCTYPE html></div>
<div><html xmlns=”http://www.w3.org/1999/xhtml”></div>
<div><head></div>
<div> <title>Progress Bar Overview</title></div>
<div></div>
<div> <meta charset=”utf-8″ /></div>
<div> <meta http-equiv=”X-UA-Compatible” content=”IE=edge” /></div>
<div> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ /></div>
<div> <meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=1.0″ /></div>
<div></div>
<div> <link rel=”stylesheet” type=”text/css” href=”../../../source/styles/smart.default.css” /></div>
<div> <link rel=”stylesheet” type=”text/css” href=”../../styles/demos.css” /></div>
<div> <link rel=”stylesheet” type=”text/css” href=”styles.css” /></div>
<div></div>
<div></head></div>
<div><body class=”viewport”></div>
<div><smart-window opened></div>
<div> <div class=”centered”></div>
<div> <smart-circular-progress-bar id=”progressbar3″ indeterminate></smart-circular-progress-bar></div>
<div> </div></div>
<div></smart-window></div>
<div> <!– scripts –></div>
<div> <script src=”../../../source/modules/smart.progressbar.js”></script></div>
<div> <script src=”index.js”></script></div>
<div></div>
<div></body></div>
<div></html></div>
<div></div>
<div>My css</div>
<div></div>
<div>
.centered {
display: flex;
align-items: center;
height: 100%;
}</div>
<div></div>
<div>Tks</div>tbettinazzi@axioma.itParticipantAnd have a transparent background ?
Tks
tbettinazzi@axioma.itParticipantTks.
How can I reduce the radius of the circle ?
Tullio
tbettinazzi@axioma.itParticipantI’ve a License Type: Developer License + Premium Support.
I don’t know if I’m entitled to request the custom support hot fix.
Tks
tbettinazzi@axioma.itParticipantShould I wait a new release in order to see solved that issue ?
It’s quite urgent.
Tks
tbettinazzi@axioma.itParticipantYes, I did but the answer was : we are working on it.
After 5 days I hoped in a solution.
Tks
tbettinazzi@axioma.itParticipantAny new about this issue ?
Did You find the problem ?
Tks
tbettinazzi@axioma.itParticipantI sent the testcase.
Tks
tbettinazzi@axioma.itParticipantTks.
Just for my better understanding why did You use a timeout event to trigger the operation ?
-
AuthorPosts