Search:

Type: Posts; User: Sherin

Search: Search took 1.38 seconds.

  1. Thread: Refresh Grid

    by Sherin
    Replies
    4
    Views
    13,071

    Re: Refresh Grid

    Hello,@JigaByte
    Please try this code,To Refresh Grid


    <button id="Add">Add</button>&nbsp;
    <button id="Remove">Remove</button><br />
    <div id="Grid"></div>
    <script...
  2. Re: How to duplicate a column in the same table (SQLite)

    Hello, @Spybot
    Please try this query, To How to duplicate a column in the same table (SQLite)


    SELECT DataId, COUNT(*) c FROM DataTab GROUP BY DataId HAVING c > 1;

    I hope this query useful to...
  3. Re: Calculating remaining days between two dates

    Hello,@fafa2020

    Please try this code, To Calculating remaining days between two dates

    Assuming the StartingDate and EndingDate are of type DateTime.



    (EndingDate - StartingDate).TotalDays
  4. Replies
    2
    Views
    5,564

    Re: installing JQuery/JQuery UI

    It is library conflict error.you can add to these library on head section.

    <head>
    <link href = "https://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css"
    rel = "stylesheet">...
  5. Thread: Mysql pivot how

    by Sherin
    Replies
    1
    Views
    289

    Re: Mysql pivot how

    pivot data is the process of aggregating or moving rows of data into columns

    You can try this query:


    CREATE TABLE Exams (
    pkey int(11) NOT NULL auto_increment,
    name...
  6. Replies
    2
    Views
    808

    Re: Window object in external javascript?

    Thank you for the reply.
    Actually error was generated because of something else and it's been resolved.
  7. Replies
    2
    Views
    808

    Window object in external javascript?

    Can I pass Window object in external javascript?
  8. Re: how to display image in html table uisng jquery

    Try this query

    function(response) {
    var trHTML = '';
    $.each(response, function (i, item) {
    var img1 = '<a href="' + item.url1 + '"><img src="' + item.url1 +...
  9. Replies
    6
    Views
    7,249

    Re: Making an Accordion Control?

    You try this query of making an accordian:

    <script>
    var acc = document.getElementsByClassName("accordion");
    var i;

    for (i = 0; i < acc.length; i++) {
    acc[i].addEventListener("click",...
  10. Replies
    6
    Views
    7,249

    Re: Making an Accordion Control?

    You try this query of making an accordian:

    <script>
    var acc = document.getElementsByClassName("accordion");
    var i;

    for (i = 0; i < acc.length; i++) {
    acc[i].addEventListener("click",...
  11. Replies
    2
    Views
    717

    Re: What is jQuery.holdReady() in jQuery?

    jquery.holdReady(hold)
    Description:Holds or releases the execution of ready event
    when argument pass in holdReady by default value is hold when its datatype is boolean and its value true or false
    ...
  12. Thread: HTML 4 & HTMl 5

    by Sherin
    Replies
    4
    Views
    4,647

    Re: HTML 4 & HTMl 5

    HTML 4 and HTML 5
    The html 5 syntax is simple to compare than the html 4 . The html 5 is different new tag introduced in current version whereas i not in the html 4.Html 5 the added to the...
  13. Replies
    17
    Views
    1,978

    Re: How To Use Between Is Select Statement

    Try this query :


    select OrderDateTime from [table-name] where OrderDateTime between '2019-11-12' and '2019-11-22'
  14. Replies
    2
    Views
    578

    Re: What is jQuery.noConflict() in jQuery?

    Do refer these sites :
    1) https://api.jquery.com/jQuery.noConflict/
    2) https://www.geeksforgeeks.org/jquery-noconflict-with-examples/
  15. What's the difference between the directory and menu lists and the unordered list?

    What's the difference between the directory and menu lists and the unordered list?
  16. Replies
    2
    Views
    2,394

    Re: which language is best for front end?

    Can't say about best but JavaScript is appropriate when it comes to frontend development.
  17. Replies
    9
    Views
    9,723

    Re: Resize a Label's height to fit text

    label.AutoSize = False
    label.Width = CInt("pass your text here")
  18. Re: What is the difference between undefined and null in JavaScript?

    undefined means a variable has been declared but has not yet been assigned a value and null is an assignment value which can be assigned to a variable as a representation of no value.


    var test;...
  19. Can i create Custom check constraint in SQL Server?

    I have a table 'City' having columns as 'ID' , 'Name' and 'Number'.
    If Name is 'AA' then Number column shouldn't accept null values. If name is other than 'AA' Number column can be null
  20. Replies
    7
    Views
    650

    Re: Inline C# in aspx

    Try enclosing the if-condition in brackets and using Capital C


    if (Request.Form["tform_email"] != null) {
    string tform_email = Request.Form["tform_email"];
    if...
  21. Re: How to create and call a custom JQuery function?

    <html>
    <head>
    <script>

    function get(){
    var x = document.getElementsByClassName('reset');

    for (var i=0; i<x.length; i++) {
    x[i].style.color = 'red'
    }
  22. Thread: Validate Input

    by Sherin
    Replies
    3
    Views
    6,509

    Re: Validate Input

    var pattern= new RegExp("pattern");
    if(($(#id).val()) && $(#id).val().match(pattern)){
    alert("True");
    }
  23. Replies
    7
    Views
    673

    Re: Centering text in a MsgBox

    I would suggest you to use Task Dialog.

    Refer these links :

    (1) https://docs.microsoft.com/en-us/windows/win32/controls/task-dialogs?redirectedfrom=MSDN
    ...
  24. Re: How to read an xml data through javascript or jquery?

    Use this function to retrive data from XML document :

    function getXMLDoc() {

    var xmlhttp = new XMLHttpRequest();
    xmlhttp.open("GET", "[File_Name.xml]", true);
    xmlhttp.send();
    ...
  25. Replies
    9
    Views
    656

    Re: How do i remove all know space from string

    (1) If you want to remove trailing space then use

    Dim data As String =" data data "
    data = data.Trim() //Output here will be: [data data]


    (2) If you want to remove all spaces then use
    ...
  26. VS 2012 Re: text property of combobox (of Ajaxcontroltoolkit ) don't be clear.

    Hi @armm1388,

    Try using

    mycombobox.SelectedIndex=-1
    or

    mycombobox.Items.Clear();
  27. Replies
    2
    Views
    9,906

    Re: JQuery Concat All Input Values

    <script type="text/javascript">

    function get(){
    $(".divData").each(function(){
    var name=$(this).find(".txtName").val();
    var dob=$his).find(".txtDOB").val();
    var...
  28. Replies
    2
    Views
    2,065

    Re: Page cycle is the View-state

    It's loaded into memory between init and load. In Page Init, it gets loaded only partially. While in Page Load whole loading is available. Thus, in Page Load Viewstate is complete.
  29. Replies
    1
    Views
    1,741

    Re: Redirect Permanent in ASP.Net

    (1) From, ASP.Net 4 RedirectPermanent has been introduced.
    (2) RedirectPermanent will send HTTP 301 (Permanent Redirect) code while Redirect sends HTPP 302 (Redirect) code.
    (3)...
  30. Replies
    3
    Views
    2,691

    Re: Image in ASP.Net

    By this code you can work with images in ASP.Net ::


    <asp:Image ID="Image" runat="server" ImageUrl="~/files/image.png" AlternateText="Image" ImageAlign="Left"/>

    For better understanding refer...
  31. Re: How to pass value of lastrecord from controller to view when click on last button

    Try using onclick this way::


    <div class="title_of_div">
    <input type="button" value="Last" id="BtnLast" style="display: inline" onclick="location.href='@Url.Action("Action","Controller")'"/>...
  32. Re: How to Disable Viewstate in your ASP.NET page

    ViewState can be disabled at the following levels:
    1. Control Level.
    2. Page Level.
    3. Application Level.

    (1) Disable ViewState at Control Level

    ViewState can be easily disabled for a...
  33. Replies
    1
    Views
    1,368

    Re: How to add scroll bar in content page?

    This is a div with scroll bars::

    <div style="overflow:scroll;">
    Your content here.
    </div>
  34. Replies
    9
    Views
    864

    Re: Taking the number from a string

    This query will return number in string if present else it will return the original data


    Select SalesPrice , substring(SalesPrice ,PatIndex('%[0-9]%',SalesPrice ), len(SalesPrice )) as...
  35. Thread: Asp.net mvc

    by Sherin
    Replies
    1
    Views
    694

    Asp.net mvc

    What is Route Handler in MVC?How it Works?
Results 1 to 35 of 37



Click Here to Expand Forum to Full Width