Data dodania Pytanie
2017-06-11 20:06 How can I remove white space between words in an array using Javascript? »
In the below array, how can I remove whitespace between words within each string? I want to convert "FLAT RATE" to "FLATRATE" and "FREE SHIPPING" to "...
(5) odpowiedzi
2017-06-11 14:06 i have a lot of .not() (exclude) how can i do it just one line »
i write a code for page transition but the problem is I have a lot of (link to go to in the same page) to exclude, can i do it just one line ? $('a')...
(2) odpowiedzi
2017-06-11 10:06 Jquery datatable in listview is not working »
Here is my code. the output is "No data available in table". I really appreciate and thanks it in advance. I tried to put datatable code in Layout te...
(1) odpowiedzi
2017-06-11 07:06 How to detect whether an element that have parent `overflow: hidden;`, is hidden? »
Let say I have the following HTML <div id="someContainer" style="overflow:hidden; height:300px"> <div class="item"></div> <...
(2) odpowiedzi
2017-06-10 22:06 Loop through array, assign each value to an element attribute in Javascript / Jquery »
I have an array: 'imageIds': imageIds = ["778", "779", "780", "781", "782"]; I want to find all elements of class .preview-image on the page, of w...
(3) odpowiedzi
2017-06-10 18:06 Responsive img in a jquery array »
I found an image array created with jquery. I'm trying to get the imgs in the array to be responsive. The ultimate goal is to have them play nice with...
(1) odpowiedzi
2017-06-10 11:06 Jquery : Adding class to dynamically generated li »
i am using lightwidget to embed instagram feed. When feed is inserted i want to add col-xs-6 class to each li element. i can get li elements by goin...
(4) odpowiedzi
2017-06-10 11:06 how to validate selectize dropdownlist in mvc 4.5? »
I am working with mvc in framework-4.5. In all other fields validation is working properly, but i am finding it difficult for selectize dropdownlist. ...
(0) odpowiedzi
2017-06-10 08:06 I dont want alert in all last columns in each row »
I am using bootstrap table. currently when you click on columns you get an alert. What I want is when you click on last column nothing will happen. Wi...
(6) odpowiedzi
2017-06-10 06:06 Jquery Datatable get all filtered data across multiple pages »
I am using a very old version of DataTable Jquery lib, v 1.1.6. I am trying to get all filtered data across all pages, but it always returns the whole...
(1) odpowiedzi
2017-06-09 22:06 Getting computed background style in Firefox »
In a userscript that previously only worked on Chrome, I was copying the entire background (completely unknown, could be an image, color, anything) fr...
(1) odpowiedzi
2017-06-09 18:06 Star rating system save value on click »
I'm trying to make a star rating system, i have this code and i want to make some changes on it, after the user clicks on the stars it shows an alert ...
(4) odpowiedzi
2017-06-09 16:06 jQuery doesn't fire on first click but does on second »
$(document).ready(function() { $('#talents li').on('click', 'div', function(event) { event.stopPropagation(); $(event.target).ad...
(1) odpowiedzi
2017-06-09 16:06 Strange DataTable sorting and keydown behaviour »
I've recently added the 'KeyTable' extension to datatable, to navigate through my table with the arrowkeys. First, I added the following code to get ...
(1) odpowiedzi
2017-06-09 15:06 I want to use JQuery in Node.js and EJS but $ is not defined »
I want to use JQuery so I did like this. npm install jquery modify package.json But it still doesn't work. and this is .ejs page <html> &...
(3) odpowiedzi
2017-06-09 12:06 How to change WebKit macro to false from CSS or JS »
The new WebKit feature for loading large images asynchronously introduced in Safari Tech Preview 26 causes mjpg-streamer webcam based streams to flick...
(1) odpowiedzi
2017-06-09 08:06 List bullets like 1) 2) 3) »
I need this types of bullets using CSS 1) Lorem ipsum dolor sit amet, consectetur adipisicing elit 2) Lorem ipsum dolor sit amet, cons...
(1) odpowiedzi
2017-06-09 08:06 use jquery in angular js function is not working? »
I am trying to just write jquery inside angularjs function.but don't know why it is not working? HTML <div> <span ng-repeat="image in po...
(4) odpowiedzi
2017-06-09 00:06 Load JavaScript into a page I do not own before any of its JavaScript executes »
I have found a web page I don't have control over. I can see in its console that it is throwing a "missing jQuery" error from its Bootstrap script. I...
(1) odpowiedzi
2017-06-08 21:06 Unable to call @Html.Action() in jQuery »
I'm trying to get the html from one of my partial views into a div tag with the id "searchpage" in my main view. However, when I follow the syntax in ...
(3) odpowiedzi
2017-06-08 15:06 Show alert if user selects a date within the next 3 days »
Im using xdsoft datetimepicker so users can select a deadline. I would like to show an alert if they choose one of the next 3 days. Initially I had s...
(2) odpowiedzi
2017-06-08 13:06 table.rows().remove() does not work if serverSide: true »
when i try to remove row from datatable I simply use this var table = $('#tbl').DataTable(); table.rows().remove().draw(); its working but ...
(1) odpowiedzi
2017-06-08 13:06 Show and Hide element from Script and/or from Razor Model View with MVC »
I have an element in a Razor View: <div class="label">When? *</div> That I need to show in a View based on a ModeView condition: <d...
(2) odpowiedzi
2017-06-08 13:06 why does ejs and jquery(jquery-advanced-news-ticker) collide in this code? »
I have a node application I am using with ejs as my views driver, and i am trying to use this great plugin. the code by itself works great, but when ...
(1) odpowiedzi
2017-06-08 12:06 copy/paste functionality in fabric.js »
In currently I have added code for copy and paste object in fabric js.But while selecting group of objects its not working. Is there any way to imple...
(2) odpowiedzi
2017-06-08 07:06 Is it more performant to cache a selector in a function if that function's called multiple times? »
Ok I think I know the answer to this, looking to confirm. So I have a selector that's only used once, but it's used inside a function that's called se...
(2) odpowiedzi
2017-06-08 05:06 Set video tag as background image and match the content »
Here's my code: .video-bg-container { position: relative; z-index: 9; } .video-bg { position: absolute; top: 0; left: 0; ri...
(2) odpowiedzi
2017-06-07 22:06 Slow performance with tabbed datatables »
I have a web page with 5 data tables in separate tabs. The filter at the top of the page contains a test element which is populated with a code. For e...
(1) odpowiedzi
2017-06-07 21:06 Using session in ejs »
I am a newbie in node and express. I want to use cookies / session to notify my ejs once my registration is successful. I dont know which one is a bet...
(1) odpowiedzi
2017-06-07 20:06 Unable to trigger jquery function on checkbox check »
I have built a form and am trying to trigger a function when the singular checkbox is clicked, but the function I am using as shown below does not wor...
(3) odpowiedzi
2017-06-07 16:06 Working in IE 11 but not working Google Chrome - excel file download using jquery »
here is the fiddle https://jsfiddle.net/ym4egje0/13/ File download is happening for IE (internet explorer) not working for google chrome . I cant...
(2) odpowiedzi
2017-06-07 01:06 why is ok to chain jquery effects, instead of using callbacks »
In the jquery documentation is stated that if you want to add a class after an effect is applied on a selection you must use a callback: // Fade in a...
(3) odpowiedzi
2017-06-07 00:06 Make a jquery ajax POST inside a loop »
I have a bunch of data inside a loop I'd like to POST to the server via jQuery. My code is similar to the following: var patients = [] // contains a...
(1) odpowiedzi
2017-06-06 21:06 Submitting a selection with ajax using options_from_collection_for_select in Rails 4 »
I use select_tag on many occasions in an application. Here's an example. <%= select_tag pg.id, options_from_collection_for_select(@misc_options, :...
(0) odpowiedzi
2017-06-06 21:06 Spring MVC DataTables Ajax Reload »
I am looking for solution how to reload changes in my table with plugin DataTables. My refresh method in Controller: @RequestMapping(value = "/ra...
(0) odpowiedzi