CodeIgniter Forums
Node cannot be inserted at the specified point in the hierarchy - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19)
+--- Thread: Node cannot be inserted at the specified point in the hierarchy (/showthread.php?tid=65790)



Node cannot be inserted at the specified point in the hierarchy - curiousteam - 07-25-2016

Why does happen subjected error in jquery when jquery is implemented in codeigniter? Did anyone face this problem earlier. Can anybody help me? I am having a problem with jquery implemented in CI....pls I need help of senior programmers....


RE: Node cannot be inserted at the specified point in the hierarchy - InsiteFX - 07-25-2016

You need to supply more and better information on just what is happening.

1. What complete error code our you getting.
2. Show your php and jQuery code so that we can check it.
3. Use the forums full editor and code tags click php in editor to paste the code in.


RE: Node cannot be inserted at the specified point in the hierarchy - spjonez - 07-28-2016

You're using an invalid selector somewhere. Did you recently upgrade to jQuery 3? It throws errors on invalid selectors which were suppressed in past versions. Here's a few examples of invalid selectors that now throw errors:

Code:
$('')
$('#')

In jQuery <3 those would return an empty jQuery object in 3+ it will throw an error.


RE: Node cannot be inserted at the specified point in the hierarchy - curiousteam - 07-30-2016

Unfortunately jQuery file was inserted repeatedly...May be for this reason it was countering error...I found it and got solved..
Thank you very much for thinking about my issue.....It was not CI fault...


RE: Node cannot be inserted at the specified point in the hierarchy - Diederik - 07-30-2016

Glad you located your problem. Ofcourse it wasn't CI's fault Wink
CI is a PHP framework running on a webserver. Jquery is a third party javascript framework which runs on the clients browser. They have absolutely nothing in common.