dcsimg

Search:

Type: Posts; User: Sherin

Search: Search took 0.08 seconds.

  1. Replies
    1
    Views
    86

    Window object in external javascript?

    Can I pass Window object in external javascript?
  2. 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 +...
  3. Replies
    6
    Views
    6,061

    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",...
  4. Replies
    6
    Views
    6,061

    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",...
  5. Replies
    2
    Views
    549

    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
    ...
  6. Thread: HTML 4 & HTMl 5

    by Sherin
    Replies
    4
    Views
    3,897

    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...
  7. Replies
    17
    Views
    1,698

    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'
  8. Replies
    2
    Views
    448

    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/
  9. 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?
  10. Replies
    2
    Views
    1,834

    Re: which language is best for front end?

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

    Re: Resize a Label's height to fit text

    label.AutoSize = False
    label.Width = CInt("pass your text here")
  12. 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;...
  13. 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
  14. Replies
    7
    Views
    393

    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...
  15. 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'
    }
  16. Thread: Validate Input

    by Sherin
    Replies
    3
    Views
    5,580

    Re: Validate Input

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

    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
    ...
  18. 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();
    ...
  19. Replies
    9
    Views
    570

    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
    ...
  20. VS 2012 Re: text property of combobox (of Ajaxcontroltoolkit ) don't be clear.

    Hi @armm1388,

    Try using

    mycombobox.SelectedIndex=-1
    or

    mycombobox.Items.Clear();
  21. Replies
    2
    Views
    8,795

    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...
  22. Replies
    2
    Views
    1,681

    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.
  23. Replies
    1
    Views
    1,329

    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)...
  24. Replies
    3
    Views
    1,855

    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...
  25. 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")'"/>...
  26. 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...
  27. Replies
    1
    Views
    1,103

    Re: How to add scroll bar in content page?

    This is a div with scroll bars::

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

    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...
  29. Thread: Asp.net mvc

    by Sherin
    Replies
    1
    Views
    591

    Asp.net mvc

    What is Route Handler in MVC?How it Works?
Results 1 to 29 of 31



Featured


Click Here to Expand Forum to Full Width