Posts by Leonam - Carlos • 21 points
2 posts
-
1
votes1
answer36
viewsA: Fabricjs only lets me rotate and edit only the first image clicked
You are substituting within Tscript::create(), which is an abstraction of the script tag. So, to work and make PHP pass the "id" to your frontend JS, try assigning the value within a JS variable:…
-
1
votes5
answers23670
viewsA: How to make Javascript calculations accepting comma to separate decimal places
Just complementing Ivan Ferrer’s answer on the line: //português return parseFloat(value.replace(/./gi,'').replace(/,/gi,'.')); It was missing the " ." to escape the ".". Adjusting would look like…
javascriptanswered Leonam - Carlos 21