JqxTree control is taking time to load with 500 records
Code Project Forum » JavaScript
by
2M ago
It is taking around 3-4 seconds to load 500 records which is very slow as it is hampering my app performance. var source = { datatype: "json", datafields: [ { name: "Rid", type: "int" }, { name: "ParentRid", type: "int" }, { name: "Name", type: "string" }, { name: "Text", type: "string" } ], id : "Rid", localdata : dataSource, async: true, hasThreeStates: false }; var dataAdapter = new $.jqx.dataAdapter(source); dataAdapter ..read more
Visit website
Passing 0 to a function
Code Project Forum » JavaScript
by
3M ago
Does anyone know what happens if you pass 0 to this function? https://pbs.twimg.com/media/GDh5G70XcAAyqTv?format=jpg&name=small Thank you ..read more
Visit website
How to Reference a local image file to display it
Code Project Forum » JavaScript
by
3M ago
I have a project that is to involve opening several image files onto the same place on the screen to overlay or not overlay them. I know nothing about java script, but someone gave me a sample script that sort of does what I'm trying to do. In that script the files are all located on the web and it references the html links for them. I'd like to be easily shareable and not really have to rely on the images being hosted somewhere. I thought I could include the image files and along with the script all in one folder so they't all be installed in the same place. I tried the full path to that pla ..read more
Visit website
Drop down list and submit button
Code Project Forum » JavaScript
by
4M ago
how to set drop down down list and submit button in JavaScript ..read more
Visit website
Dropdown
Code Project Forum » JavaScript
by
4M ago
dropdown list and submit button ..read more
Visit website
Javascript alert() not showing
Code Project Forum » JavaScript
by
4M ago
alert() not show ..read more
Visit website
Inserting HTML from a fetch gives me extra blank rows..?
Code Project Forum » JavaScript
by
6M ago
Making a fetch call and getting html back, like so: HTML <tr> <td class="heading">JGServices</td> <td class="numeric-amount"> <input type="text" size=10 value="99.00" onfocus="this.blur()"> </td> <tr> <tr> <td class="heading">ShippingHandling</td> <td class="numeric-amount"> <input type="text" size=10 value="25.00" onfocus="this.blur()"> </td> <tr> <tr> <td class="heading">District</td> <td cla ..read more
Visit website
Moving a <div> from right edge of screen to left slowly?
Code Project Forum » JavaScript
by
7M ago
I have been racking my brain trying to figure this out. All I want to do is have a element come from the right edge of screen into the center of the screen slowly. I'm trying to use the "transition" method via javascript and I'm just lost. I want this to happen as soon as a click on a button control. Please help!!! Thanks ..read more
Visit website
Jasmine - monitor all calls of a method?
Code Project Forum » JavaScript
by
7M ago
Dear all, I'm currently dealing with unit tests using Jasmine/KarmaRunner. I'm wondering whether it is possible, that I can be shure, that a tested method does not make other calls than the monitored. I'v learned so far, how I can check the count, arguments and order of calls from the tested method, which I expect. But what if someone inserts a new line into the tested method, that is unknown in the test und does "strange other things"... Is there something like "Jasmine.allCalls( object, 'method')...? Thx in advance and best regards! Please stay objective and friendly ..read more
Visit website
Mutation Observer, editing a value
Code Project Forum » JavaScript
by
8M ago
I wrote a function, where one can update an invoice. So the user clicks edit, the modal pops up, they change the price, and the function calls an API, updates the database, and processes the returned data. Then it calls a function within, that changes the invoice price on the page, and creates a mutation observer to detect the price change, and tallies up the invoice cost, and changes the total at the bottom. The purpose of this mutation observer, is to wait for the DOM to update the cost, and when the DOM signals it's been done, then go back to the DOM and tally up the cost, and change the ..read more
Visit website

Follow Code Project Forum » JavaScript on FeedSpot

Continue with Google
Continue with Apple
OR