3 Replies - 142 Views - Last Post: 09 November 2017 - 04:15 AM

#1 rupali7  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 07-November 17

converting Jquery code to JavaScript

Posted 08 November 2017 - 07:21 AM

Hi, I am trying to push my JS knowledge, hence I am trying to convert JQuery code to Javascript. Here is my code:My link. In this I am not getting where to call x function(){which is in comment}. Instead of using Jquery code I want to convert that code to javascript. I try my level best but did some mistakes. Can you please tell me where I went wrong??

Is This A Good Question/Topic? 0
  • +

Replies To: converting Jquery code to JavaScript

#2 andrewsw  Icon User is offline

  • the case is sol-ved
  • member icon

Reputation: 6375
  • View blog
  • Posts: 25,756
  • Joined: 12-December 12

Re: converting Jquery code to JavaScript

Posted 08 November 2017 - 08:02 AM

Post the relevant code directly here in the forum, between code tags, not just through an external site.

I don't like your variable names: input, ul, varInnerHtmlText, innerHTML1. Use descriptive names and ones that don't conflict or confuse with existing HTML elements or properties.
Was This Post Helpful? 0
  • +
  • -

#3 rupali7  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 07-November 17

Re: converting Jquery code to JavaScript

Posted 09 November 2017 - 03:27 AM

I thought adding HTML, CSS and JS file will make question soo lengthy, so gave external link
Was This Post Helpful? 0
  • +
  • -

#4 andrewsw  Icon User is offline

  • the case is sol-ved
  • member icon

Reputation: 6375
  • View blog
  • Posts: 25,756
  • Joined: 12-December 12

Re: converting Jquery code to JavaScript

Posted 09 November 2017 - 04:15 AM

It all probably amounts to no more than 2/300 lines. That's not too lengthy.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1