Skip to main content
0 votes
1 answer
53 views

Loaded header via PHP include and jQuery load overlaps the CSS for the main file

I need some help. I'm doing a project and I am currently stuck in this part. I decided to create a separate header for my file. Both the header and the main page had its css embedded in its tag. I've ...
PMConcepcion's user avatar
0 votes
0 answers
26 views

jQuery get values when use load for call other page [duplicate]

I use jQuery load for call one script and this script works perfectly, buy i want get response when use load inside this function, i put my example : <script> function insert(id) { jQuery("#...
Man's user avatar
  • 33
0 votes
1 answer
1k views

why Jquery load is not working in firefox?

I am trying to add a nav page without body and html tag to a html page using JavaScript(j Query). but its not working . i tried changing the browser and used firefox,Crome as well as edge. but it did ...
SARVESH SHARMA's user avatar
0 votes
1 answer
1k views

Jquery looping through Django context object

I have a data list in Html. from Django views.py as a tag (Mydata). and In the HTML page I want to loop through that list using Jquery I tried some method but it didn't work this is my view def ...
tibas's user avatar
  • 199
3 votes
0 answers
152 views

jQuery load() has 200 response code, but desired contents not loaded in selected element

In one JSP file I have an element: <div id="mydialog"></div> I have an anchor tag <a href='#' id="#newentry"> On the click of the anchor tag I have some jQuery ...
omri's user avatar
  • 425
0 votes
2 answers
1k views

JQuery doesn't load HTML file (in Bootstrap template)

Trying to load Bootstrap nav with jQuery. It doesn't work... <script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="...
Andrii Gorokhovskyi's user avatar
1 vote
2 answers
2k views

jquery onclick not working on element from .load() function [duplicate]

I have a PHP snippet in a separate file which I am loading in a javascript file using jquery: let signUpMode = $(".modal"); signUpMode.load("login_signup_popup.php"); This works because I am able ...
bcsta's user avatar
  • 2,377
0 votes
0 answers
54 views

Loading data from external website with jQuery .load()

So, I've tried loading some data from an html class at an external website. The external website is not my domain nor do I have any control over it's content or accessibility. The external website is ...
Steve Rodgers's user avatar
0 votes
1 answer
332 views

Generate Jekyll Liquid content without including it (just from JQuery load function)

Well, I'm trying to doing $('element').load() call. Because, I want to load content only on desktops and tablets, not in mobile. So to avoid data redundancy I'm doing the following (after my $(...
z3nth10n's user avatar
  • 2,451
0 votes
2 answers
53 views

Return asynchronous result from AJAX called from dynamically loaded page

Currently I have a page which I have loaded using jQuery as follows: $('#content').load('mypage.html'); This is called inside site.js. Inside the loaded page, I have loaded a script which I am trying ...
rshah's user avatar
  • 691
1 vote
1 answer
2k views

JS scripts not working for divs loaded with jQuery's .load()

So I have div with some php inside. It is executing some records from sql database. <div id="records"> <?php list_query(select_records()); // some php returning divs ?> </div> ...
SenTisso's user avatar
  • 650
1 vote
0 answers
64 views

Loading HTML file with JavaScript vs having long file content?

I'm redesigning application that could be a good fit for SPA. After reviewing the code I found that previous developers used JQuery/JavaScript load() method to include .html files. For example they ...
espresso_coffee's user avatar
2 votes
2 answers
887 views

Appending external PHP file in jQuery

I'm referring a question answered here. Trying to append an external PHP file in to jQuery and tried load. $(".chatbox").load("./one.php"); This gives me the output; Your success message! However ...
Mohan Wijesena's user avatar
0 votes
1 answer
295 views

Delete only works once

I'm having an issue with this piece of code. if (attributeName == 'id') { var loadUrl = "http://localhost:8000/OB_ViewDetails/"; $.ajaxSetup ({ cache: false }); $("#...
chimichi004's user avatar
1 vote
1 answer
1k views

How to debug a script inside partial view that load by javascript in Chrome Developer Tools?

When I loaded html file that contains javascript code by using the following code $("#containerId").load("@Url.Action("ActionName")"); I couldn't find it in the chrome source tab I find out chrome ...
ali-myousefi's user avatar

15 30 50 per page
1
2 3 4 5
22