skip to Main Content

Javascript – regular expression

regex expression which contains 9 atleast alphabets and 1 digits and the position of alphabets and digit can be anywhere. eg- rahulkumar1 rahul9kumar 1RahulKumar /[A-Za-z]{9,}[0-9]{0,1}/ I have tried using this but it does not worked out.enter image description here

VIEW QUESTION

Ajax success data show undefind – Jquery

I return a array object data Ajax success result then i print li tag but its show undefind My Ajax code is $.ajax({ 'method': 'GET', 'url': base_url +'party/selectCities?id='+state, success: function(data) { var newData = data.replace(/"/g, "") if(newData == ""){ }else{…

VIEW QUESTION

BigDecimal from json loses precision

The network call shows that the backend is sending this: "uom" : "EA", "qty" : 1.123456789012345678 but when it reaches the frontend, using console.log: { qty: 1.1234567890123457, uom: "EA" } why is the javascript losing the last digit or truncating…

VIEW QUESTION
Back To Top
Search