Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to remove '&nbsp' using JQuery..?

Tags:

I have two buttons in a row and they are shown in two td's, and its not lined up correctly in IE, I doubt that hidden spaces(&nbsp) in the td's somewhere mayby after the input or before the input button, unfortunately I cant access the html code, its automatically generated. The only way is to control by using jQuery I have a jQuery something like this..

$("td:contains(' ')").css("display", "none");

Is this a right way to get rid of that &nbsp in the td?

like image 213
Akhil Paul Avatar asked Sep 28 '11 21:09

Akhil Paul


People also ask

Can a human break his limiter?

Yes, it is possible to remove the limiters that stop us from using 100% of the power and strength that our bodies put in place to stop us from breaking ourselves, no you can't do so on the level of saitama.

What are mental limiters?

What is a “limiter”? It is something in your mental wiring which holds back your potential. For example: Physical-mental limiter: The mental limiter which holds you back from attempting new “PR”'s at the gym, because you're afraid you might injure yourself by attempting a heavier weight than you're used to.

Do people have limiters?

Yes, human muscles are limited by the brain. The brain limits the body's strength and use of muscles to avoid self-harm. Our brain, rather than our body, defines when it's time to stop, expressed in pain and fatigue.


1 Answers

No, you would do something along these lines:

$("td").html(function (i, html) {
    return html.replace(/ /g, '');
});
like image 73
Ry- Avatar answered Oct 03 '22 20:10

Ry-