Questions tagged jquery

Explore the latest questions and answers asked by our top developers.

how to bring highlight js into pre tag in a whole angularjs application?

I have an angularjs app for students to learn it includes so many html pre tags and code snippets in it. It have highlight js but some of the syntaxes aren’t showing exact colours. but i have added window.onload function in one of the usecases and it works, properly. the thing i want ; is […]

By Ahammad Kabeer P I
Published
Categorized as angularjs, html, javascript, jquery Tagged , , ,

AngularJS performing math

Need your help on this. I have this scope function where it has a cost and a formatted value in data. That cost and formatted Value are coming from an API. The formatted value can be in a different currency not limited to euro or US, but globally, baht, php, chf, etc. How do I […]

How to view drop down options after cloning a row?

I am new to js, and I want to implement a functionality in which I want to clone the row which contains p-dropdown. On cloning, I am unable to view the list of items of the dropdown of cloned row. Here’s the demo url: https://stackblitz.com/edit/primeng-dropdown-ff2e7s?file=app/app.component.html I have referred few sites but I didn’t understand how […]

By Vibhuti
Published
Categorized as angularjs, html, javascript, jquery, typescript Tagged , , , ,

Change Multiple CSS property from multiple CSS class dynamically in Angular

In angular, we can easily change the property of a CSS class dynamically, like if I have a class .my-class { background: url(‘..’) } and if I used my-class as <div class="my-class"> —— </div> now, we can change the image effectively by using [style.background]="url(..)" like <div class="my-class" [style.background]="getImageUrl()"> —- </div> Now, can anyone tell me, […]

By Khairul Bashar Lemon
Published
Categorized as angular, css, html, javascript, jquery Tagged , , , ,

Failed to read the ‘localStorage’ property from ‘Window’: Access is denied

My website www.abc.com I am using iframe in www.abc.com with http://www.xyz.com I am facing the below issue Issue : Failed to read the ‘localStorage’ property from ‘Window’: Access is denied for this document. How to solve the issue with only using source code (Angularjs(V 1.X), Javascript, jQuery, HTML), without touching browser settings manually. Is there […]

By raj
Published
Categorized as angularjs, html, javascript, jquery Tagged , , ,

$scope not updating

Hi all I was working on one sms system, where I need to use text area as input field, and with some drop down, these drop downs are like predefined templates which user can select, edit and send. I am facing some issues while manually typing message and sending it, I can’t able to use […]

By Amara
Published
Categorized as angularjs, javascript, jquery Tagged , ,

Track the Number of Print command given

I want to keep the track of how many times the print command is given in my AngularJS project. here is my code for printing a div – vm.printWholeJob = function () { vm.printCount++; // It is my print count. setTimeout(function () { var popupWin = window.open(”, ‘_blank’, ‘width=1000,height=600’); popupWin.document.write(‘<html><head><link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"><style>.print-table th, .print-table […]

By Ankit Prasad
Published
Categorized as angularjs, css, html, javascript, jquery Tagged , , , ,

Repeat input type file by taking integer input from user

So, basically i have a textbox and file upload button . What i want when user enter integer in textbox for eg :10 then i want to display file upload button 10 times. Source: Angular Questions

By Goku Vegita
Published
Categorized as angular, javascript, jquery, typescript Tagged , , ,

How to set html body max width 650px with responsive content with javascript or jquery

Hello I am working on one website that website basically for all like desktop, iPad and phone and this website is fully responsive and I have used bootstrap and some other @media rule so currently when I resize the window then automatically adjust this website so now my expectation is that. Expectation : I have […]

Take value from user and repeat that time of input type file [closed]

It is possible to take input value from user and repeat that time of input type file in angular. For Ex: if user enter number in 5 then 5 time input type file will show. Source: Angular Questions

By Goku Vegita
Published
Categorized as angular, javascript, jquery, typescript Tagged , , ,
1 2 3 114

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq