disable

Javascript command to disable javascript

Yahoo mail is now injecting disgusting amounts of code including css and javascript into html emails. I've found a way to over ride some of their css by writing styles using their class of .yshortcuts. Now, I was wondering if there is a javascript call which would say "Stop all javascript functionality after this call" I know, pretty ...

How to disable tinymce's textarea.

I've tried all of the following: $(#"tbxNote").attr("disabled", "disabled"); ////doesn't work $(#"tbxNote").attr("disabled", "true"); //doesn't work either :) tinyMCE.init( mode: "none" ); //throws an error This is how I'm loading tinymce: //load tinymce plugin $('#tbxNote').tinymce({ // Location of TinyMCE scrip...

Android ==> disable multi tasking ??

1- How can i disable multi tasking? My application is a socket based game, every time i start the app, it MUST load the main page first to start the socket connection? I do not want the user to be able to run my application in background. Is this possible to do? 2- I do not want the user to be able to use the back button, to navigate b...

How can I disable multiple buttons?

hi, I have 2 buttons on my view and i want to disable the first button when i click on an other button and disable the second when I click again on the button. I have tried with this code if (button1.enable = NO) { button2.enable = NO; } So I have in a NavigationBar a "+" button and 5 disable buttons in my view. When I push the...

How can I disable multiple buttons?

hi, So I have in a NavigationBar a "+" button and 5 disable buttons in my view. When I push the "+" button I want to enable the first button and when I push again that enable the second... I have tried with that code if (Button1.enabled == YES) { Button2.enabled = YES; } I really don't understand how I can do that... Thnaks f...

Preventing duplicate form submission while not breaking page when clicking Back button

I have a page with a form where I'm trying to prevent duplicate submission, which is fairly straightforward (in case anyone's curious, I used this $("form").submit(function() { setTimeout(function() { $("input").attr("disabled", "disabled"); }, 50); }); ...which I stole from this page, and it works fine. As expecte...

On check, disable all others

HTML: form input:radio 1 input:radio 2 input:radio 3 If one of these is clicked, I'd like to disable the rest. I think siblings selector will be used here but I can't figure out how. Thanks for your help! ...

Disable other options (jQuery)

<p><label><input type="radio" name="group1" /> one</label></p> <p><label><input type="radio" name="group1" /> two</label></p> <p><label><input type="radio" name="group1" /> three</label></p> When one of the radio input is selected, I'd like to completely disable others. I tried with the jquery siblings selector but it works only if all...

Need help with focus in Android list when the first list item should be disabled

I use tabs in my Android application and one of my tabs contains a listview. I'm noticing some weird behavior when I override isEnabled in my list's adapter and then try to use the D-pad to move up and down through the list and to my tabs. If the 0th item of the list is enabled, then everything works as expected - I can move down thr...

Disable a class using Javascript?

I am using a e-commerce package and there are sections my client wants disable to hidden. The problem is the package has all their labels under the same class and I am not sure how I can target certain ones in order to hide or disable them. I have 5 and would like to hide the 3rd one, lets say. They are in a table to so it looks ju...

How to disable specific JavaScript object.

HI All, Is there a way to disable specific JavaScript object, while all other JS objects will be available for execution? Something like a script in the top line which controls the rest of JS code on the page. For example I want to prevent navigator.userAgent execution and leave navigator.appVersion available. Or even more advanced way...

Disable Model Validation in Asp.Net MVC

Hello, How do I disable Model validation for a single Action in a Controller ? Or can I do it per model by registering the model type at startup somewhere ? I want the ModelBinder to bind to the model, but afterwards it should not perform the model validation. The reason why i dont want validation to happen is because i am trying to m...

is it possible to disable/enable update panel in differnet conditions?

hi my dear friends : i have some controls for inputing data (with a button for submit them) inside a contorl panel... my submit button code has 2 part (conditional): 1-insert code 2-pop up a RadAlert (Calling a Javascript function From Code Behind - My RadWindow Manger is in Master Page - RadWindow Manager is necessary for showing th...

How does Stackoverflow's "Post Your Question" button stay disabled until question gets submitted?

I am using asp.net webforms; I want to submit a form and keep the button disabled until it gets saved to my database, exactly like Stackoverflow. Any suggestion? protected void Lb_Save_Click(object sender, EventArgs e) { //disable my button //Do a DB insert //enable my button } EDIT: I'll do a client-side validation fir...

Disable selection of a single UITableViewCell

How do you disable selecting only a single cell in a UITableView? I have several, and I only want the last to be disabled. ...

jQuery disable an element be used to turn off a function?

Can the same "disable" be used to turn off a function using a checkbox for example? Any out there? ...

Jquery: How to disable an image's click function while loading?

This won't work using: $('div#menuBar,#goLeftBtn,#goRightBtn').attr('disabled', true); in the document.ready Any ideas? Thanks! EDIT: My html is basically like this: <div id="floatRight"> <img src="./images/all_left.png" id="goAllLeft" class="arrow" /> <img src="./images/left.png" id="goLeft" class="arrow" /> ...

Disable UITableViewCellAccessory

I want to disable the UITableViewCellAccessoryDetailDisclosure button for certain rows in my table. I cannot seem to find any way to do this. I tried just doing: cell.UITableViewCellAccessoryDetailDisclosureButton.enabled = NO; But no luck. Does anyone know how to do this? Thank you! ...

How to disable a jQuery function after it is called ?

I want to disable the working of a jQuery function. In my page I have a login form. After login success, it disappears and the main page is shown. But if I refresh the page, it again shows the main form. It is because all of my contents are in 1 .html file. I made all of them display: none; and after login jQuery runs the .show() method....

Install Shield - How to Disable specific feature in feature tree?

I am new to install shield , I have an Install Script msi project and have some features, I want feature3 to be greyed out in sdfeaturestree dialog. Kindly help me in to this I am very stucked. kindly tell me the fucntion which disable the check box of specified feature.? thanks very much ...