JavaScript

JavaScript and corresponding frameworks such as jQuery are nowadays an indispensable part of Internet pages. Only the functionality brought by JavaScript enables dynamic websites and Ajax.

This portal is all about the topic JavaScript.

Sub-Categories

New Topics

TinyMCE How to change default font-size for "Clear Formatting" Button

After I hit "Clear Formatting" the font size changes to 8 and font family to Arial, is there anyway to change this default...

Open Question | 1 Answer

JavaScript: How to reset array's protoype in JavaScript ?

Array.prototype.min = function() { return Math.min.apply(Math,this); }; How to reset Array.prototype...

Open Question | 1 Answer

JavaScript: Change Page Title

How can I change the title of an HTML page with JavaScript? Is that possible? I would like to customize the existing title (title in the head of the...

Question | 1 Answer

jQuery: Change the Title of an HTML Page

How can I change the page title of an HTML page with the help of jQuery, even after loading the page? Is that...

Question | 1 Answer

jQuery: Set the width of an element in percent

I would like to change the width of some elements with jQuery. The information should be provided in percent, so I would like to set the element with...

Question | 2 Answers

jQuery: Check if an element is invisible

Using the functions .hide(), .show(), and .toggle(), I can easily change the visibility of items with jQuery. But how can I use jQuery or JavaScript...

Question | 2 Answers

New Answers and Comments

Guest: Work GREAT... But how to resize and crop using fix ratio? thankyou...

Tutorial | How to resize Image before Upload in Browser

NetLabel: You can use content_css or content_style to define your default settings. If you have a css file with your defaults, you can define it in the...

Question | TinyMCE How to change default font-size for "Clear Formatting" Button

Compi: First of all, I would never override any of the default function. If you cannot prevent this, for example because of an external script does the...

Question | JavaScript: How to reset array's protoype in JavaScript ?

Progger99: Of course, you are right. It must be strold like in the second example, I have corrected that in my article. Thanks for reporting that...

Tip | JavaScript: Remove last character from string

Guest: Hello, var strnew = strold.substr(0, strnew.length-1); this can't work: strnew is...

Tip | JavaScript: Remove last character from string

Guest: I don't know what you mean with "in my code". Where are those images? So, I can only guess what to do: Maybe a loop iterating over all images, or you...

Tutorial | How to resize Image before Upload in Browser

Popular Topics

Show more

Open Questions

Participate

Everyone can participate in Askingbox. Open your topic directly in this category:

 
If you should have any questions: That’s how it’s done.