dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: Javascript search for large html files using web workers

  1. #1
    Join Date
    Dec 2013
    Posts
    1

    Question Javascript search for large html files using web workers

    i am a newbie in Javascript
    i have this Fiddle Here http://jsfiddle.net/kd6Y4/4/

    which is getting div from a different page on same site and display it the problem is its working perfectly online like this direct link http://fiddle.jshell.net/kd6Y4/1/show/ search for hand or and in both

    but there is a problem if i am searching a html file which is around 7 mb with more than 6000 div its hanging for around 20 seconds before giving results and sometime chrome closes when testing i want to load results from multiple html files at a time and in a way so that results should show instantly and realtime when the searching is being processed
    i have heard about Parallel.js http://adambom.github.io/parallel.js/ but i am unable to use it please help me how can i intigrate this in the code
    Share on Google+

  2. #2
    Join Date
    Jun 2017
    Posts
    3
    Is the problem has been resolved? I would like to know how did you resolved the problem. I need to search huge html files and should returns the results as like you stated above. Please let me know your findings/solutions or approaches.
    Share on Google+

  3. #3
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    4,802
    1. Great that you have solved the problem.
    2. When posting JQuery questions, please use the proper forum, you need the JavaScript Frameworks forum.
    --> JavaScript Frameworks like JQuery, Angular, Node <--
    ... and please remember to wrap code with forum BBCode tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...
    Share on Google+

  4. #4
    Join Date
    Oct 2013
    Location
    Sheboygan, Wisconsin
    Posts
    1,426
    12-04-2013,
    This is a antique thread.
    Share on Google+

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles