Should I learn jQuery or react? That said, there are still many reasons why you should learn jQuery. It's still a required skill set for many front end positions. In general, the more you know Javascript, the better you will understand React.
The more you use React, the more you will understand Javascript. What is meant by Dom? It defines the logical structure of documents and the way a document is accessed and manipulated. What is Ajax used for? AJAX is a technique for creating fast and dynamic web pages.
AJAX allows web pages to be updated asynchronously by exchanging small amounts of data with the server behind the scenes. This means that it is possible to update parts of a web page, without reloading the whole page. What is jQuery used for?
The purpose of jQuery is to make it much easier to use JavaScript on your website. It is shorthand for jQuery. You can pass it a selector to get a collection of matching elements from the DOM. How add js file in HTML? To include an external JavaScript file, we can use the script tag with the attribute src.
You've already used the src attribute when using images. The value for the src attribute should be the path to your JavaScript file. Please tell us why you want to mark the subject as inappropriate.
Maximum characters. Report Inappropriate Cancel. From : guest. Content :. Type the characters you see in the picture below. Send Cancel. Subject :. Send Update Cancel. Email ID. Attach files. Desktop Google Docs. Each Attachment size should not exceed 1. Max no of attachments : 3. Loading User Profile Response title. Publish Back to edit Cancel. Sign In. In that scenario, they shouldn't even be looking at this stuff in order to understand how to re-use your code for implementation on other pages or to set some alternate behavior.
All the DOM stuff should be buried and hidden from people who don't need to know it. I prefer to mix them. I usually start off with using strictly or mostly jQuery. Since things can get quite CPU intensive with projects I work on that involve possibly 's of widgets.
I find that writing in jQuery is a great start, but when I want to start optimizing my products, I switch a lot of what I can to JavaScript. Sign up to join this community. The best answers are voted up and rise to the top.
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 10 years ago. Active 6 years, 8 months ago.
Viewed 8k times. Improve this question. Community Bot 1. Seriously though the only thing strange is lack of consitency either use mostly jQuery or mostly javascript. But if you're using jQuery there is no avoiding using JavaScript. Perhaps your mystery commenter realized his folly. Add a comment. Active Oldest Votes. Improve this answer. Not that what you're saying is wrong, but the reason I selected those items that way was because later I wanted to do quick string manipulation that I thought would be easier and faster with basic js — user And I can defiantly say jQuery is not that one for me, however on the grand scheme of things, it's not that bad — Raynos.
It almost never pays in user interface development, because users are really slow and the number of objects on the screen is small. People like being black and white. Clare Macrae 2 2 silver badges 10 10 bronze badges. Raynos Raynos 8, 32 32 silver badges 47 47 bronze badges. Chad an off hand WTF without explanation is silly. However for some people me included it's all too easy to mock people for using bad practices when they simply don't know better.
0コメント