JavaScript - jQuery - Ajax


  1. » JanMolendijk
    I`m almost their with my tag-system

    But my second question for today: I can`t find-out how to detect the names from this javascript.
    I can detect...
    Last post » Admin
    Yes, in that function.
    Then, see in browser console (F12) what data is displayed.


  2. » Admin
    The delPartUrl() function from the following JavaScript code can be used to delete part of query string from page url in browser, without affecting...


  3. » JanMolendijk
    I still don`t understand how I can get the results from a div into a text input form field ?

    <div id= div2 > Content </div>

    I...
    Last post » JanMolendijk
    Thanks Chief for all your support....
    My URL-extractor is working
    in the comment-system


  4. » JanMolendijk
    For day`s i`m busy to improve my comment system
    & no I`m ready to place a url extractor but I hope
    you can support me by this-one....

    I want...
    Last post » MarPlo
    It depends where you want to add the html content from javascript in the form, on the beginning, or at the end after other elements.
    Se the: 2....


  5. » JanMolendijk
    Sorry but I have something with the Vex-modal from: coursesweb.net/jquery/vex-modal-window-dialogs-plugin_jp
    I get on Edge browser a complete height...
    Last post » JanMolendijk
    Thanks for the support I changed my website to something more simple
    so my home-server XAMPP can run better, my complex pages are not running well....


  6. » JanMolendijk
    Dear admin, I`m searching for round 10 hours for a solution to track & store spending-time from a visitor on the website.

    I found a Ajax...
    Last post » Admin
    Maybe it is not working with onunload to execute ajax request when the user closes the page.
    Try the following code.

    - JavaScript:...


  7. » JanMolendijk
    Dear admin I try to add two buttons in one off your scripts for opening via button
    but i cant find out what i`m doing wrong one is opening but...
    Last post » Admin
    Hello,
    There is no attribute id_1 . You can change the value of an atribute, but not its name.
    You can use the same js script for multiple buttons;...


  8. » Alecos
    I see an error in firefox when visit my page that contains your script. We are talking about the ajax script that allows the rating... try to install...
    Last post » Alecos
    Thanks. I appreciate your efforts... Now all fine...


  9. » Marius
    Hello,
    I have this html code:
    <label><input type='checkbox' id='chb1' value='1' />Add text</label><br>
    <textarea...
    Last post » Admin
    Hello,
    1. With javascript, register a 'click' event to the checkbox element.
    2. In the function called by that click event check if the checkbox is...


  10. » JanMolendijk
    Dear Admin I would love to use this script, but their is a problem with the first record in my sql-table (DESC)

    The first record (DESC) is not...
    Last post » Admin
    The php, javascript and html codes are wrong mixed.
    It is good to avoid mixing javascript code in php strings.
    - Try this:
    <?php
    //your...


  11. » JanMolendijk
    Dear Admin i Hope you understand my Question
    I would like to use your SimpleModal Windows script
    But into my notice-script the code where i wanna...
    Last post » JanMolendijk
    Dear Admin i just found they answer
    I have to put '. $row .' to the basic-modal, button & win_cnt...

    All things are working corectly now....


  12. » Marius
    Hello,
    How can I create a JavaScript DOM object out of string with HTML content?
    For example, i have this string which i get with ajax from...
    Last post » Admin
    Hello,
    You can use DOMParser() to create a #document from a string:
    var str ='abc 123<div id= test >coursesweb.net</div><span class=...


  13. » Marius
    Hello
    I have a JavaScript code that automatically adds some value in an input field.
    How can I detect when the value was added in input?
    If I use...
    Last post » Admin
    Hello,
    For input fields it is better to use the 'input' event.
    To emit and detect an event when some data is added automatically in input field,...


  14. » Marius
    Hello
    Anyone know how to directly display in HTML an image with dynamic SRC, from external URL address, using JavaScript?
    To have in html something...
    Last post » Admin
    Hello
    Try this code:
    <div id= dimg >Here add image</div>
    <script>
    var dimg = document.getElementById('dimg');

    //receives the JPG...


  15. » Marius
    I have a jquery ajax function that is called every second, with setTimeout().
    I want an alert to pop up whenever a new message is received.
    Here's...
    Last post » Admin
    Try something like this, store the previous response into a variable, and alert the message if response changed:
    var msg_res =''; //store the...


  16. » mlucicom
    Hello! I have a form that insert results to database.
    Many users press this button several times until the confirmation message appears.
    How can i...
    Last post » Admin
    You can use onclick with: this.style.display='none' , or: this.style.visibility='hidden' ; will automatically hide the button, so, it will not be...


  17. » mlucicom
    Hello! I have this jquery script that get all checkboxes from a div and check all at button click:
    <script>
    $( #check'.$id22.'...
    Last post » Admin
    Hy,
    To much code and i cannot test it because i not have the necessary database.
    Study better the example I have gave above, that it works.
    - If...


  18. » mlucicom
    Hello! On page:
    mluci.com/d/admin-index.php

    - i tried to add database details from sql select into a div with javascript.
    I have this php with...
    Last post » Admin
    Hello,
    I think I told you in other topic, The resulted sting in javascript must be on a single line, or each new line escaped with \ .
    Example:...


  19. » MarPlo
    Hello,
    How can I check if a Div is in viewport and detect when it exits viewport.
    Has anyone a code example or JS script that works in all...
    Last post » Admin
    Try the JavaScript script and example from this page:

    - It can be used to check if a html element is in viewport, and to get its size and...


  20. » MarPlo
    Hello,
    How can I get the position top, left of a html element in page, for example a Div or an image?
    Also, how to get the size of a specified Div:...
    Last post » Admin
    This function, getBoxPS(), can be used to get the position and size (in pixels) of html elements in page.
    It returns an object with four properties:...


  21. » JanMolendijk
    I have this textarea
    <textarea name= details rows= 5 cols= 50 class= form-control ></textarea>
    Now i have a page with all smilies &...
    Last post » JanMolendijk
    Admin you thought off everything great work
    i added it & is working thanks


  22. » mlucicom
    hello! I have this page: elitservice.dk/contact-01.php
    When i press submit button i get an alert() with parsererror .
    i test php code and work...
    Last post » Admin
    Maybe from functions.js , or ask the one who made the js scrips used in that page.


  23. » Marius
    How can I redirect the user from one page to another using jQuery?
    I saw both window.location = url; and window.location.href = url; How are they...
    Last post » Root13
    I think, it's better to use replace()


  24. » mluci12
    How can i get image who is choose on: autobelgia.ro/home.html
    At SELECT VEHICLE TYPE section?
    Last post » Admin
    I not know. You can post what code you have tried and what is not working in that code.


  25. » mluci12
    Hello,
    How can i get the value of this select live (mluci.com/d) a prefix number, and add in next input?
    Last post » Admin
    Hi
    See if this example helps you. The <select> element must have an id .
    <select name= countryCode id= countryCode >
    <option...