Posts by Luis Lobo • 1 point
2 posts
-
0
votes5
answers5370
viewsA: How to apply ! CSS import via jQuery?
I just created a function that does exactly what the question asks: // jquery-css-important.js v1 jQuery.fn.extend({ cssImportant: function(key, val) { let $div = $('<div>'); $div.css(key,…
-
0
votes3
answers11983
viewsA: Access-Control-Allow-Origin error with Xmlhttprequest()
I was doing a GET and jQuery worked and my Xmlhttprequest didn’t. I was angry, but I found out what was happening by going into jQuery’s code. So, for those who have this problem I managed to solve…