Sultan Altoobi

Ranch Hand
+ Follow
since Dec 11, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sultan Altoobi

Bear Bibeault wrote:

Now before you do one more line of coding, learn how to use the debugger in the browser! Do it now! It will save you hours and hours of time in the future.



I read about debugger in the browser and its really intresting!

Thank you again.
Got It^_^

Thank you Bear Bibeault.
I appreciate your help

I forget to put # before other - '#other'

Now it works fine!

the complete code with changes:


Thank You!

Bear Bibeault wrote:The most important question I asked is about the selectors. I ask again: do you really think that your selectors are selecting what you think they are selecting? Are you using the correct selector syntax?

Are you using the JavaScript debuggers built into the browsers? If not, why not? Debugging JavaScript without a debugger is like trying to play concert piano while wearing welding gloves.



-I'm not sure if I'm using the the correct selector, this is the syntax I know!

-and I have no idea about - JavaScript debuggers built into the browsers - I'm not Familiar with JavaScript!!!
I have tried what you suggusted, but still its not working with me!!

any other ideas!!

Bear Bibeault wrote:More: on this line:
It's bad form to mix the styles in with the markup. Move the style info to a <style> element.



Do you mean here I have to do it like this:


???

Bear Bibeault wrote:Two problems with this (and its counterpart) line: $('other').css('display', 'block');

  • Why are you not using .show() and .hide()?
  • What is it that you think that your selector is matching?




  • I have tried to use .show() and .hide() , but its not doing it!!


    -I think its matching the value selected from the list using the Id as follow:


    Hi again,

    Sorry I was pussy!!

    here is my code, but its not working!!



    any help please!?

    Bear Bibeault wrote:Please read NotACodeMill.

    jQuery is perfect for this type of thing. Give it a try and post with any problems you are having. But you write the code. We just help you with it.




    Thats good.

    I'll write the code and I'll post here later

    Thank you in advance for your response and for mentioning the NotACodeMill.
    Hi again,

    Thank you for your response and solutions. Also I read that using jQuery its possible.

    I found many codes while I'm googling, but non of them works fine as what I'm looking for!!!

    So may you write to me the code that do it in a right way using one of the possible procedures!
    I think its a short piece of code.

    Thank You.
    By the way,

    I'm coding website in php.

    thanks again.
    Hi everybody,

    I'm trying to do the following:

    -when I select other, it should show me textbox to write as bellow:


    -when I select Type 1, or 2, or 3, the textbox should hide as follow:


    So, the textbox only showed when I select Other, and hided when I select Type 1, 2, and 3.


    Help me please...

    Thank you.

    Sultan Altoobi wrote:Exceuse Henry,,

    When I changed the text it gives me the following error:

    javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher


    any idea?



    I found my mistake!
    now it works fine!
    9 years ago
    This the code I use to convert from hexadecimal to byte array:
    9 years ago
    Exceuse Henry,,

    When I changed the text it gives me the following error:

    javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher


    any idea?
    9 years ago

    Campbell Ritchie wrote:Question too difficult for “beginning”. Moving thread.



    Excuse me, to which fourm did you move it??
    9 years ago