Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide won't
Message
 
 
To
11/03/2014 23:25:52
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Javascript
Category:
JQueryUI
Title:
Miscellaneous
Thread ID:
01596038
Message ID:
01596246
Views:
40
I am a big fan of ReSharper, also from JetBrains, so will check it out. These days I am very focused on JavaScript/jQuery/HTML5/CSS solutions (including angular, breeze, and bootstrap) so this could fit in nicely. Thanks for the tip.

>FWIW a really good IDE is really helpful doing JS. I use phpstore and I really like it. Since you are not using PHP you should look at this product http://www.jetbrains.com/webstorm/. You can try it free for thirty days and if you like you can buy the individual version for 50.00. Also, it has a really good HTML editor as well.
>
>JMHO
>
>>So, you're telling me that not only do I have to get lost in stupid '{'. '(' and ';' s but the engine could always just slip something in where it thinks it should be. Joy.
>>And I thought COBOL was freaky about the '.'
>>
>>Again, 'splain to me how this is so damn much better?
>>
>>
>>>There's a potential error if you place the opening brace on an empty line. Consider:
return
>>>{ x:1};
Javascript engines will often place an implied semi-colon after return
>>>
>>>>That is ridiculous about JSint. A code block's opening { being placed at the end of a line is a very common formatting style.
>>>>
>>>>>And yes, I'm getting the value I'm expecting - and it's NOT equal to 'custom', so it should be hiding the CustomCodes DIV section.
>>>>>
>>>>>But it's not.
>>>>>
>>>>>Notepad++ will also do that for you
>>>>>
>>>>>Also, I tried putting them on a separate line, but whenever I attempt to run the code to JSint it screams about the opening { not being on the same line as the code.
>>>>>
>>>>>
>>>>>>Try alert($('#RwrdCode').val()); to verify you're getting the value you expect.
>>>>>>
>>>>>>As for the {}, I suggest you put them on a new line to help see where they line up. If you are using Visual Studio, you can place the cursor after one, and it will highlight the matching begin or end bracket.
>>>>>>
>>>>>>>ok...got past the '=' vs '==' thing - also have fought through the stupid mis-matched '{' and '(' things ('splain to me how that's so much better than a simple 'begin' and 'end' if you insist on having to tell the compiler where a command starts and finishes)
>>>>>>>
>>>>>>>Now...for something completely different.... Hide won't
>>>>>>>
>>>>>>>
>>>>>>>$(function RewardOnChng(control) {                       
>>>>>>>alert("In RewardOnChng function"); 
>>>>>>> if ($('#RwrdCode').val() == 'custom'){
>>>>>>>        $('#CustomCodes').fadeIn();}
>>>>>>>      else{
>>>>>>>        $('#CustomCodes').hide();}
>>>>>>>
>>>>>>>
>>>>>>>This is on a dropdown list with a label and textbox for free entry on a certain value.
>>>>>>>
>>>>>>>"CustomCodes" is the [broket}DIV[/broket] definition for the label/textbox
>>>>>>>
>>>>>>>I know that it's going into the function, since the alert box shows....and that's all that happens, as far as I can tell.
>>>>>>>
>>>>>>>Why won't it hide?
Previous
Reply
Map
View

Click here to load this message in the networking platform