Skip to content

Tag: jquery

How select the previous option with jQuery?

I have a html page with a select element like this: And I’m using this simple function on the button OnClick to change the selected item to the next option item of the dropdown: My question is: How can i change the selected item to the previous option of this tag using Vanilla JavaScript or jQuery? Jsbi…

Fetch data from database in php through AJAX,

index.php First I create a connection with the database, I design table through <td> and <tr>, I create a variable $action to get data through AJAX. I use mysqli_fetch_array to fetch data from the database. Add.html view.js I fetch data from the database. I use the show_all() function after that I…

Uncaught ReferenceError: jsPDF is not defined 2

I am working with JQuery. Now, I try to attach a link between JQuery and jsPDF but I get that error : Uncaught ReferenceError: jsPDF is not defined. I’ve import all jsPDF files. I call this function to generate my pdf : And those are scripts I’ve imported in body tag : Answer According to the home…

Angular 4. Unexpected token export

Then i’m start the app by command ng serve in console i see error: Just start then angular application, install: bootstrap, jQuery, popper.js and then add styles & scripts files to angular-cli.json/angular.json angular-cli.json/angular.json: i’m use: Where i’m make a mistake? Some text o…

Uncaught TypeError: .slideToggle is not a function

I have jquery in a different file located in the same map, I’m using this code below to activate the .slideToggle function. However it’s not working, why? I’m getting the error: Uncaught TypeError: .slideToggle is not a function Answer Firstly ensure you’re not using the ‘slim&#8…

Website Developing [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 years ago. Improve this question I have developed a website using JSP n Servlets, now i want to make my website dynamic, like…

Record mic and audio from SIP call using sip.js

Good evening Stack Overflow! I really need help for a project of mine where I’m using sip.js and a VoIP to make real calls to a phone number. The Goal I want to allow the user to record the audio and microphone and save the data on a server (in base64 encoding or as a file). So I after the