Jump to content

ishan_shah

Members
  • Content Count

    70
  • Joined

  • Last visited

Community Reputation

1 Neutral

About ishan_shah

  • Rank
    Newbie
  • Birthday 11/07/1995

Contact Methods

  • Website URL
    https://www.ifourtechnolab.com/

Profile Information

  • Gender
    Male
  • Location
    Ahmedabad
  • Interests
    HTML, CSS, JavaScript, C#

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. By default you can set that X property for display:none And now you can nwritejs for onChange event of that text area function onChange (){ if(document.getElementById("field").value != '') { document.getElementById("X").style.display =""; } }
  2. I would like to add one more thing ,always put your custom css link after bootstrap
  3. You can use bootstrap container like <div class="row"> <div class="col-3"> your contain </div> </div>
  4. Here is the detailed example of what you are looking for:https://www.w3schools.com/howto/howto_js_slideshow.asp
  5. Just a little idea: you will have to save total number of chanting in database and update it every time when some one do chanting.you will have to use a back-end language for that.
  6. You can use different class or p tag for 's' and provide color property
  7. You can use inline css like that: <input type="radio" name="click" value= "save" style="height:20px; width:20px; vertical-align: middle;" CHECKED > Or you can provide class name to particular input like Html: <input type="radio" name="click" value= "save" class="checkbox" CHECKED > Css: .chexkbox{ height:20px; width:20px; }
  8. You can use keyevents for that for example:<!DOCTYPE ht l<!DOCTYPE html> <html> <body> <h3>Trigger Button Click on Enter</h3> <p>Press the "Enter" key inside the input field to trigger the button.</p> <input id="myInput" value="Some text.."> <button id="myBtn" onclick="javascript:alert('Hello World!')">Button</button> <script> var input = document.getElementById("myInput"); input.addEventListener("keyup", function(event) { if (event.keyCode === 13) { event.preventDefault(); document.getElementById("myBtn").click(); } }); </script> <!DOCTYPE html> <html> <body> <h3>Trigger Button Click on Enter</h3> <p>Press the "Enter" key inside the input field to trigger the button.</p> <input id="myInput" value="Some text.."> <button id="myBtn" onclick="javascript:alert('Hello World!')">Button</button> <script> var input = document.getElementById("myInput"); input.addEventListener("keyup", function(event) { if (event.keyCode === 13) { event.preventDefault(); document.getElementById("myBtn").click(); } }); </script> </body> </html>
  9. You can also use jQueryUi autocomplete for that,you can find all the references here:https://jqueryui.com/autocomplete/
  10. ishan_shah

    JS image

    You can use popup for that : with jQuery: Cdn:https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/jquery.magnific-popup.min.js File.js: $(document).ready(function() { $('.image-link').magnificPopup({type:'image'}); }); File.htm: <a class="image-link" href="your-image-url">Open popup</a>pl Or you can also use boostrap model for that. Here is the example:https://www.w3schools.com/howto/howto_css_modal_images.as
  11. I assume you want o/p like 2015-0325 only. So for that, You can pull out the parts of a DateTimeFormat one-by-one using DateTimeFormat#format, but note that when using this method, as of March 2020, there is a bug in the ECMAScript implementation when it comes to leading zeros on minutes and seconds . const d = new Date('2010-08-05') const ye = new Intl.DateTimeFormat('en', { year: 'numeric' }).format(d) const mo = new Intl.DateTimeFormat('en', { month: 'short' }).format(d) const da = new Intl.DateTimeFormat('en', { day: '2-digit' }).format(d) console.log(`${da}-${mo}-${ye}`)
  12. Remove apostrophe ' ' This is the example that i found on Microsoft's website : The following examples return all rows from the Product table. The first example returns total sales and the discounts for each product. In the second example, the total revenue is calculated for each product. USE AdventureWorks2012; GO SELECT p.Name AS ProductName, NonDiscountSales = (OrderQty * UnitPrice), Discounts = ((OrderQty * UnitPrice) * UnitPriceDiscount)
  13. Provide same name to radio button group like: <input type="radio" id="memory" name="AnyName" value="In Memory of"> <input type="radio" id="honor" name="AnyName" name="honor" value="In Honor of">
×
×
  • Create New...