Is there any way I can change my element in css permanently using php or javascriptHow can I prevent SQL injection in PHP?How to change an element's class with JavaScript?Deleting an element from an array in PHPConvert HTML + CSS to PDF with PHP?Secure hash and salt for PHP passwordsChange an HTML5 input's placeholder color with CSSHow can I transition height: 0; to height: auto; using CSS?How can I set the default value for an HTML <select> element?How do I disable text selection with CSS or JavaScript?Changing the color of an hr element

Are these reasonable traits for someone with autism?

Is real public IP Address hidden when using a system wide proxy in Windows 10?

Any advice on creating fictional locations in real places when writing historical fiction?

What does this symbol on the box of power supply mean?

Where can I find visible/radio telescopic observations of the center of the Milky Way galaxy?

What is Theresa May waiting for?

Sitecore 9.0 works with solr 7.2.1?

Did 20% of US soldiers in Vietnam use heroin, 95% of whom quit afterwards?

Compaq Portable vs IBM 5155 Portable PC

Could a 19.25mm revolver actually exist?

What are the mechanical differences between the uncommon Medallion of Thoughts and the rare Potion of Mind Reading?

How to Pin Point Large File eating space in Fedora 18

Which melee weapons have the Two-Handed property, but lack Heavy and Special?

Python program to find the most frequent letter in a text

using Leibniz rule to solve definite integral

Externally monitoring CPU/SSD activity without software access

Should breaking down something like a door be adjudicated as an attempt to beat its AC and HP, or as an ability check against a set DC?

Where is the logic in castrating fighters?

Can I tell a prospective employee that everyone in the team is leaving?

Did people Unsnap to where they were?

Is it possible to play as a necromancer skeleton?

Why does this if-statement combining assignment and an equality check return true?

How did these characters "suit up" so quickly?

What is a Centaur Thief's climbing speed?



Is there any way I can change my element in css permanently using php or javascript


How can I prevent SQL injection in PHP?How to change an element's class with JavaScript?Deleting an element from an array in PHPConvert HTML + CSS to PDF with PHP?Secure hash and salt for PHP passwordsChange an HTML5 input's placeholder color with CSSHow can I transition height: 0; to height: auto; using CSS?How can I set the default value for an HTML <select> element?How do I disable text selection with CSS or JavaScript?Changing the color of an hr element






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















How can we make conditional CSS?



**********CSS:



if button nepali is clicked 
.englishdisplay :none
if button english is clicked
.nepalidisplay :none



HTML



<tr><td class="invisible"></td></tr>
<tr class="english"><td> 3. And I know that the record which I ma......</td>
</tr><tr class="nepali"><td>३ अनि म जान्दछु............</td></tr>


I have 3 buttons on my homepage with which I want to make different language invisible. Buttons will be:
"English" "Nepali" "Both".

Now I was thinking of a way, "according to the button pressed I want to change my CSS in PHP" so it will display only the language I need.
I am not good in PHP and I don't know what it can do. For reference you can check this link.



http://www.ldsnepal.tk/










share|improve this question



















  • 1





    what did you try? where are you stuck?

    – Akber Iqbal
    Mar 24 at 4:01











  • Need some more context here. Are you in control of those 200 html files? I mean, can you write to them? (If so, then why can't you use a text editor to do a global find and replace, but that's another question.) What exactly do you want to change into what? "my element" is a bit vague. And you seem to distinguish between making a change and making a permanent change, which I'm not sure I get.

    – Mr Lister
    Mar 24 at 8:22












  • So, All my 200 html files are pretty much same. They are text inside <table> <tr> <td class="hindi"> and other one is <tr><td class ="english"> I have a form in home page of my html that will make a php call. But, I am not sure how can I make my .english display: none and .hindi display: none according to the button pressed in home page of my HTML. Also I want to make that change somewhat permenant in a way that when I go to my second page I still want to deactivate my hindi. I need some mechanism in may be php but not sure

    – Rochak Kunwar
    Mar 24 at 23:31


















0















How can we make conditional CSS?



**********CSS:



if button nepali is clicked 
.englishdisplay :none
if button english is clicked
.nepalidisplay :none



HTML



<tr><td class="invisible"></td></tr>
<tr class="english"><td> 3. And I know that the record which I ma......</td>
</tr><tr class="nepali"><td>३ अनि म जान्दछु............</td></tr>


I have 3 buttons on my homepage with which I want to make different language invisible. Buttons will be:
"English" "Nepali" "Both".

Now I was thinking of a way, "according to the button pressed I want to change my CSS in PHP" so it will display only the language I need.
I am not good in PHP and I don't know what it can do. For reference you can check this link.



http://www.ldsnepal.tk/










share|improve this question



















  • 1





    what did you try? where are you stuck?

    – Akber Iqbal
    Mar 24 at 4:01











  • Need some more context here. Are you in control of those 200 html files? I mean, can you write to them? (If so, then why can't you use a text editor to do a global find and replace, but that's another question.) What exactly do you want to change into what? "my element" is a bit vague. And you seem to distinguish between making a change and making a permanent change, which I'm not sure I get.

    – Mr Lister
    Mar 24 at 8:22












  • So, All my 200 html files are pretty much same. They are text inside <table> <tr> <td class="hindi"> and other one is <tr><td class ="english"> I have a form in home page of my html that will make a php call. But, I am not sure how can I make my .english display: none and .hindi display: none according to the button pressed in home page of my HTML. Also I want to make that change somewhat permenant in a way that when I go to my second page I still want to deactivate my hindi. I need some mechanism in may be php but not sure

    – Rochak Kunwar
    Mar 24 at 23:31














0












0








0








How can we make conditional CSS?



**********CSS:



if button nepali is clicked 
.englishdisplay :none
if button english is clicked
.nepalidisplay :none



HTML



<tr><td class="invisible"></td></tr>
<tr class="english"><td> 3. And I know that the record which I ma......</td>
</tr><tr class="nepali"><td>३ अनि म जान्दछु............</td></tr>


I have 3 buttons on my homepage with which I want to make different language invisible. Buttons will be:
"English" "Nepali" "Both".

Now I was thinking of a way, "according to the button pressed I want to change my CSS in PHP" so it will display only the language I need.
I am not good in PHP and I don't know what it can do. For reference you can check this link.



http://www.ldsnepal.tk/










share|improve this question
















How can we make conditional CSS?



**********CSS:



if button nepali is clicked 
.englishdisplay :none
if button english is clicked
.nepalidisplay :none



HTML



<tr><td class="invisible"></td></tr>
<tr class="english"><td> 3. And I know that the record which I ma......</td>
</tr><tr class="nepali"><td>३ अनि म जान्दछु............</td></tr>


I have 3 buttons on my homepage with which I want to make different language invisible. Buttons will be:
"English" "Nepali" "Both".

Now I was thinking of a way, "according to the button pressed I want to change my CSS in PHP" so it will display only the language I need.
I am not good in PHP and I don't know what it can do. For reference you can check this link.



http://www.ldsnepal.tk/







php html css






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 24 at 23:48







Rochak Kunwar

















asked Mar 24 at 3:59









Rochak KunwarRochak Kunwar

112




112







  • 1





    what did you try? where are you stuck?

    – Akber Iqbal
    Mar 24 at 4:01











  • Need some more context here. Are you in control of those 200 html files? I mean, can you write to them? (If so, then why can't you use a text editor to do a global find and replace, but that's another question.) What exactly do you want to change into what? "my element" is a bit vague. And you seem to distinguish between making a change and making a permanent change, which I'm not sure I get.

    – Mr Lister
    Mar 24 at 8:22












  • So, All my 200 html files are pretty much same. They are text inside <table> <tr> <td class="hindi"> and other one is <tr><td class ="english"> I have a form in home page of my html that will make a php call. But, I am not sure how can I make my .english display: none and .hindi display: none according to the button pressed in home page of my HTML. Also I want to make that change somewhat permenant in a way that when I go to my second page I still want to deactivate my hindi. I need some mechanism in may be php but not sure

    – Rochak Kunwar
    Mar 24 at 23:31













  • 1





    what did you try? where are you stuck?

    – Akber Iqbal
    Mar 24 at 4:01











  • Need some more context here. Are you in control of those 200 html files? I mean, can you write to them? (If so, then why can't you use a text editor to do a global find and replace, but that's another question.) What exactly do you want to change into what? "my element" is a bit vague. And you seem to distinguish between making a change and making a permanent change, which I'm not sure I get.

    – Mr Lister
    Mar 24 at 8:22












  • So, All my 200 html files are pretty much same. They are text inside <table> <tr> <td class="hindi"> and other one is <tr><td class ="english"> I have a form in home page of my html that will make a php call. But, I am not sure how can I make my .english display: none and .hindi display: none according to the button pressed in home page of my HTML. Also I want to make that change somewhat permenant in a way that when I go to my second page I still want to deactivate my hindi. I need some mechanism in may be php but not sure

    – Rochak Kunwar
    Mar 24 at 23:31








1




1





what did you try? where are you stuck?

– Akber Iqbal
Mar 24 at 4:01





what did you try? where are you stuck?

– Akber Iqbal
Mar 24 at 4:01













Need some more context here. Are you in control of those 200 html files? I mean, can you write to them? (If so, then why can't you use a text editor to do a global find and replace, but that's another question.) What exactly do you want to change into what? "my element" is a bit vague. And you seem to distinguish between making a change and making a permanent change, which I'm not sure I get.

– Mr Lister
Mar 24 at 8:22






Need some more context here. Are you in control of those 200 html files? I mean, can you write to them? (If so, then why can't you use a text editor to do a global find and replace, but that's another question.) What exactly do you want to change into what? "my element" is a bit vague. And you seem to distinguish between making a change and making a permanent change, which I'm not sure I get.

– Mr Lister
Mar 24 at 8:22














So, All my 200 html files are pretty much same. They are text inside <table> <tr> <td class="hindi"> and other one is <tr><td class ="english"> I have a form in home page of my html that will make a php call. But, I am not sure how can I make my .english display: none and .hindi display: none according to the button pressed in home page of my HTML. Also I want to make that change somewhat permenant in a way that when I go to my second page I still want to deactivate my hindi. I need some mechanism in may be php but not sure

– Rochak Kunwar
Mar 24 at 23:31






So, All my 200 html files are pretty much same. They are text inside <table> <tr> <td class="hindi"> and other one is <tr><td class ="english"> I have a form in home page of my html that will make a php call. But, I am not sure how can I make my .english display: none and .hindi display: none according to the button pressed in home page of my HTML. Also I want to make that change somewhat permenant in a way that when I go to my second page I still want to deactivate my hindi. I need some mechanism in may be php but not sure

– Rochak Kunwar
Mar 24 at 23:31













0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55320607%2fis-there-any-way-i-can-change-my-element-in-css-permanently-using-php-or-javascr%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55320607%2fis-there-any-way-i-can-change-my-element-in-css-permanently-using-php-or-javascr%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현