• 0

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /var/www/html/cnasolution/site/application/views/question.php
Line: 191
Function: _error_handler

File: /var/www/html/cnasolution/site/application/controllers/Questions.php
Line: 419
Function: view

File: /var/www/html/cnasolution/site/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

Is it possible to append an entire php partial view via JQuery?

I am currently creating a really simple JQuery function which will append a large block of html on click. However i find it really messy to just store the large block of html in a variable var html = '

large block of html

I want to avoid that and i was wondering if it is possible via JQuery / JQuery Ajax to just the call the blade.php partial view and Append it to to the div container.

Enlighten me ;)

Download script demo [LINK] [Origin]
Download script demo [LINK 2] [Onedrive] Download script demo [LINK 2] [Google drive]