Navigation

    ask avan logo
    • Register
    • Login
    • Search
    • Categories
    • Unsolved
    • Solved
    1. Home
    2. Categories
    3. Coding Question & Answers
    4. Javascript + jQuery
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes

    Javascript + jQuery

    • D

      This topic is deleted!
      • dkavan  

      1
      1
      Posts
      0
      Views

      No one has replied

    • S

      SOLVED Using Mysql results to populate html
      ejs javascript mysql • • sequelman  

      10
      10
      Posts
      87
      Views

      S

      Now I can add the 20 other fields in need in that form. 😁

      Thanks again for your help I really appreciate it.

    • I

      SOLVED hey avan can you teach me how to deobfuscate this javascript code to make it readable again ?
      • imnoob  

      2
      2
      Posts
      61
      Views

      avan

      Hey @imnoob

      Took me a long time but here you go 🙂

      https://codepen.io/avansardar/pen/zYrgmJb?editors=0010

    • iUFOm

      This topic is deleted!
      • iUFOm  

      1
      1
      Posts
      4
      Views

      No one has replied

    • C

      SOLVED Adding classes to javascript onhover code
      • cthornval  

      5
      5
      Posts
      26
      Views

      C

      Hey Avan! thanl you so much it worked!

    • Nature Square

      UNSOLVED I am trying to convert this "b'{"raw": 1587513600, "fmt": "2020-04-22"}'" to string in javascript
      • Nature Square  

      2
      2
      Posts
      7
      Views

      avan

      Hey @Nature-Square

      I would recommend formatting any code that you have in your post. It makes it easier to read.

      So what parts EXACTLY of the following would you like to convert to a string?

      "b'{"raw": 1587513600, "fmt": "2020-04-22"}'"

      What is the current type? You can use the built in typeof function to test e.g. typeof argument

    • C

      UNSOLVED combining toggle code and slidetoggle+click outside code
      • cthornval  

      1
      1
      Posts
      11
      Views

      No one has replied

    • C

      UNSOLVED How to make a resposive bottom-up slider, that also works as a nav-bar
      • cthornval  

      5
      5
      Posts
      25
      Views

      avan

      Hey @cthornval

      I am sorry but I am afraid it's still confusing. Both snippets show a bottom-up slider . If you still need help I would recommend trying a screen recoding and then uploading it. It would have to be short though since the file limit is 50 MB I think. That way you can show me instead of trying to describe it. Just an idea.

    • C

      UNSOLVED Make slider (.toggleClass) visible in bottom of page, and make different content appear on Mouseover
      • cthornval  

      2
      2
      Posts
      16
      Views

      avan

      @cthornval

      I would recommend using codepen for questions like these. It makes it a lot easier to help you that way.

      I have created a simple hover effect example on codepen. All it does is when you hover over an item it will show the appropriate text at the bottom. Nothing special but you can pick up from there.

      Hover of each car and look for the text at the bottom. If the codepen doesn't show up just refresh the page.

      https://codepen.io/avansardar/pen/LYpxYwd

    • C

      UNSOLVED Problems with loading modal in Safari, Firefox and on Smartphone
      html javascript • • cthornval  

      2
      2
      Posts
      13
      Views

      avan

      Try to create a vanilla sandbox and then share the link with us.

      https://codesandbox.io/

      Let me know if you need help on how to do that.

    • mrnuqname

      UNSOLVED How to Select All Elements Based on Attribute Name
      • mrnuqname  

      3
      3
      Posts
      11
      Views

      mrnuqname

      Thanks for the response!!

    • C

      SOLVED Toggle both <div> and <p> onclick + hide <div>
      div javascript paragraph toggle • • cthornval  

      6
      6
      Posts
      34
      Views

      avan

      Awesome @cthornval

      Post anytime! One more favor to ask, do you mind selecting my answer as the correct solution? Thank you.

    • W

      SOLVED Javascript Registration Form Validation
      javascript validation • • willaeng  

      2
      2
      Posts
      10
      Views

      avan

      Hey @willaeng

      I would start off by not calling on value twice. You call on value here:

      var userId = document.myForm.userName.value;

      and again here:

      var userId_len = userId.value.length; ... else if (userId.value.match(alphaNumber)) {

      Try removing the extra calls on .value and then go from there.

    • X

      UNSOLVED Build a timed code quiz with multiple-choice questions. It will include html, css and js with timer that -10sec if wrong ans im a beginner
      • xsza  

      2
      2
      Posts
      8
      Views

      avan

      I would recommend formatting your code by embedding it inside the code tags like so

      var question = "Can you Help?"

      use three back ticks ` or the code (</>) option at the top.

    • C

      SOLVED Images does not show in Lightbox module on click
      javascript • • cthornval  

      3
      3
      Posts
      24
      Views

      C

      This worked wonderfully! I ended up using both codes!

    • D

      SOLVED Help in understanding javascript functions from a snippet
      array for function javascript new to ccoding • • dkavan  

      5
      5
      Posts
      57
      Views

      D

      @avan
      Thank you so much from the bottom of my heart. I guess confusion is a part of reading someone else code. I couldn't figure out how the function showSlides was grabbing the slideshow set data... you put it all together for me. I'll have to go back and learn arrays and how to select the data in them. Again..Thank you.

    • G

      SOLVED Need Help with a Simple Javascript Problem Involving Even and Odd Checking
      • gsh  

      3
      3
      Posts
      38
      Views

      D

      It is amazing that Avan finds the time to reply to guys like us! Kudos!

    • A

      UNSOLVED how get reference in firebase
      • Abdullah  

      2
      2
      Posts
      30
      Views

      avan

      Hey @Abdullah

      Can you elaborate a little? For example, what you are getting back right now? What does your log say? etc?

    • S

      SOLVED Exported and required function not returning any values.
      • sequelman  

      6
      6
      Posts
      68
      Views

      avan

      Glad I could be of help. Do you mind selecting my last reply the correct answer? Thank you.

    • A

      SOLVED Creating Unique Class Names when Creating/Cloning New Elements Using Javascript (jQuery)
      • Abdullah  

      3
      3
      Posts
      27
      Views

      A

      @avan Thaaaaaaaaaaaaaaaanks very much, i freaking appreciate this website,always learning ,it worked thanks 😀