Posts

How to hide all rows with one ID in JavaScript?

You can hide all rows with same id via this code. Or you can take any action on all element which has the same id. const elementsList = document.querySelectorAll("#hideornot"); const elementsArray = [...elementsList]; elementsArray.forEach(element => {     element.style.display = "none"; // change according your need });

How to read query string value with JavaScript?

To read query string value from the current url with javascript you need to add a function in your head or body section. function getQueryStringValue ( key ) { return decodeURIComponent ( window . location . search . replace ( new RegExp ( "^(?:.*[&\\?]" + encodeURIComponent ( key ). replace ( /[\.\+\*]/ g , "\\$&" ) + "(?:\\=([^&]*))?)?.*$" , "i" ), "$1" )); } Then you can alert or console the value of your query string. Like you have this url in your query string www.example.com/word/?key=value now you can get the value of key string like this. console . log ( getQueryStringValue ( "key" )); or you can alert this alert( getQueryStringValue ( "key" ) );

How to get Redmi Note 5 Pro MIUI 9.5.6 update?

Confirmed! You will get  MIUI 9.5.6 update in your redmi note 5 pro. Redmi Note 5 Pro MIUI 9.5.6 Update Based on Android 8.1 Oreo Announced If you are not getting the update then you can change your  region to Russia than u will got 8.1 update ... On the spot. if you do not know how to change region in redmi note 5 pro then go to setting>additional settings>Region the select country as Russia. Then go to About Phone and check again you will get update. After Update your phone you can change your redmi note 5 pro region back to India. Do not forget to comment in the post if this works. Thanks :)

How to get oreo update in redmi note 5 pro?

Confirmed! You will get Oreo and  MIUI 9.5.6 update in your redmi note 5 pro. Redmi Note 5 Pro MIUI 9.5.6 Update Based on Android 8.1 Oreo Announced If you are not getting the update then you can change your  region to Russia than u will got 8.1 update ... On the spot. if you do not know how to change region in redmi note 5 pro then go to setting>additional settings>Region the select country as Russia. Then go to About Phone and check again you will get update. After Update your phone you can change your redmi note 5 pro region back to India. Do not forget to comment in the post if this works. Thanks :) Redmi note 5 pro Oreo update Question: I did not get Oreo Update in Redmi Note 5 Pro? Question: How to get Oreo Update in my Redmi Note 5 Pro? Question: How to get MIUI 9.5.6  Update in my Redmi Note 5 Pro? Question: How to get Oreo and MIUI 9.5.6  Update in my Redmi Note 5 Pro? Question: Not getting MIUI 9.5.6.0 Globle stable Oreo update on Redmi note

Wordpress not showing image on firefox showing display none in image css style

Wordpress not showing image on firefox showing display none in image css style Wordpress not showing image or it is showing under image  style="display: none !important; . If you try to remove it and again it add the display:none in your image. Here is the solution. Firefox only loads some images or not showing any image, while other browsers load them all Here is the solution: If you are using Firefox with AdBlock Plus Extension in your browser? If yes, try to disable it and try again. I think that is the proble. If this works, Do not forget to comment on this post

How to create zip and unzip in linux or ubuntu?

Zip and unzip in linux or ubuntu You only have to run this command to make a zip of a folder zip -r application.zip application Application is the folder name of the current folder. This command will create zip of that folder Now Unzip command It is very simple just run command for unzip unzip application.zip It will unzip the folder in current folder

How to exclude a folder in sublime Search for a Directory?

Image
How to exclude a folder in sublime Search for a Directory? You can exclude .deploy or .meteor folder while searching in a directory or exclude any folder which you want from a directory To exclude follow these point   Add -(Dash) in the starting of your directory Add *(asterisk) after your folder which you want to exclude Press Ctrl+shift+F put the example string in Where text box where you have mention your searching directory Example: /home/sagar/Desktop/mywork, -/home/sagar/Desktop/ mywork /.deploy/*, -/home/sagar/Desktop/ mywork /.trash/* Above example show that sublime will search a keyword inside mywork directory but will exclude .deploy and .trash folder from directory