Search Result

Collapse
89 results in 0.0020 seconds.
Keywords
Members
Tags
ajax
  •  

  • luke
    started a topic how do i get the filename of an image
    in PHP

    how do i get the filename of an image

    what i have is an upload form, when the user clicks on upload an image there computer files are displayed so they can select an image (as standard), when they find there image and click on it how do i grab the file name on click to display on the page? im using php and jquery
    See more | Go to post

  • how to add image based on if condition in JavaScript

    Hi All,
    i am asking this question for 2nd time, but still didn't get the reply. anyone pls help me how to insert image based on if condition in javascript. this is my code:
    Code:
    if(desc == "Cloudy")
    {
    alert("cloudy");        $("input#desc").val(response.getElementsByTagName("desc").item(0).firstChild?response.getElementsByTagName("desc").item(0).firstChild.data : "");
    ...
    See more | Go to post
    Last edited by Dormilich; Apr 25 '12, 12:35 PM. Reason: Please use [CODE] [/CODE] tags when posting code.

  • Calling content via Ajax, JavaScript in this page disappears on load

    I am using a piece of inline Javascript to cloak my e-mail address on a webpage, to prevent spam. The HTML text fragment including the script ( xxx.txt ) is loaded dynamically using an AJAX call and inserted into a DIV.

    However, when it is displayed the javascript has disappeared: instead of a clickable link similar to a simple mailto: link there is nothing.

    What makes the javascript snippet disappear and how can I...
    See more | Go to post

  • truezplaya
    started a topic Calling a web service via javascript
    in .NET

    Calling a web service via javascript

    I've searched numerous places on the web and haven't been able to get my solution to work. I have set up an web service and all works perfectly. It a very simple one just one method that retruns hello world as a string

    Code:
    namespace MyWebApp
    {
        /// <summary>
        /// Summary description for FirstSharePointWebService
        /// </summary>
        [WebService(Namespace = "MyWebApp",
    ...
    See more | Go to post

  • jeddsal
    started a topic help with ajax and javascript in php
    in PHP

    help with ajax and javascript in php

    so basically i have a form which has an input type text for id and then i also have a input type text for name..

    and then i also have a query in which it gets the matching name for that id.

    sample : sql = "select name from names where id = '".$id."'";

    how can i implement this concept in which, you can input the id and then the name of that corresponding id which automatically display...
    See more | Go to post

  • sreekandank
    started a topic Please help me on this AJAX code

    Please help me on this AJAX code

    I have written the AJAX script as follows:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Ajax Demo...</title>
    <style type="text/css">
    ...
    See more | Go to post
    Last edited by Dormilich; Feb 10 '12, 03:30 PM. Reason: please use code tags when posting code

  • adarwish
    started a topic Play Sound Using Javascript with UpdatePanel

    Play Sound Using Javascript with UpdatePanel

    I Have the below Asp.net Code:

    the problem is that When Timer Tick Every 30 Second and GridView Filled the javascript code is not executed !! and Sound is not played.

    I have also tried SoundPlayer Class but is not working on the Server Side can anyone provide me with a solution ?

    Code:
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="OrdersPage.aspx.cs" Inherits="Orders_"
    ...
    See more | Go to post

  • joss Perold
    started a topic Ajax ComboBox Button not working

    Ajax ComboBox Button not working

    Hi, I have a ajax combobox on my asp.net webpage which doesnt appear to be working correctly. The dropdown button seems to be disabled. Doesnt matter where i click it doesnt work.

    Here is the ASP:

    Code:
    <ajaxToolkit:ComboBox ID="cmbPortfolio" runat="server" DropDownStyle="dropdownlist"                    AutoCompleteMode="SuggestAppend" RenderMode="Block" BackColor="#f9e4c5">
    ...
    See more | Go to post

  • Generating a post/input form on the same page during a button onClick event?

    I need an ajax/js function that will generate an input form to be filled up when the Add Traveler button is clicked. (not open a new window but generate it on the same page)

    Code:
    <td> Travelers:</td>
    <td><input type="button" onClick="" name="" value="Add Traveler" /></td>
    So, I want to generate this form when the button is clicked:...
    See more | Go to post

  • how can I set a default value to zero if nothing is entered into the text field?

    my problem is that when i dont type anything into the quantity textbox my jquery function calc() does not work. this is because '' = NAN (not a number)

    I have tried add this code in my calc() function on cart_actions.js , but with no luck...
    [code=jquery]
    if(quantity.len gth === 0){
    quantity = $(".quantity input", this).val(0);

    }
    [/code]
    ...
    See more | Go to post

  • auto complete textbox value from input of another texbox

    i have a form which includes an id textbox and a name textbox.

    how do i implement it when i will input a id which is integer and a corresponding name to that id in the databases automatically inputs in the name textbox as well?

    i want to implement it in a oop approach so i have a class which will contain my function to query the database

    and a have a form.php
    and the action.php

    can...
    See more | Go to post

  • Accessing comma separated data from an javascript array object

    I have a global array to which I provide data from one function and want to use that data into another function.

    i.e. i get the values of sitecode, x and y from function A
    siteCode = x = y =

    windQueryDataAr ray = [[siteCode, x, y]];

    I want to use this array in function B from which I want to compare value of siteCode with site code value I am getting from another...
    See more | Go to post

  • dha lak
    started a topic nested update panel and gridview events

    nested update panel and gridview events

    Hi,



    I use 2 update panels, nested with each other
    1st update panel contains GridView1
    2nd update panel contains GridView2. Gridview2 contains GridView3. But GridView3 just displays data. It has no rowcommand or any events.

    My problem is when a button in GridView2 is clicked. both GridView1 and GridView2's rowcommand event are fired. But, i do not want the GridView1's Rowcommand event to fire....
    See more | Go to post
    Last edited by Frinavale; Nov 17 '11, 02:35 PM. Reason: Added code tags.

  • Need help in finding ASP.NET footer chat control ajax based

    Hello everyone,

    I am looking for an AJAX based chat control which would work and display somewhat similar to the chat we use in gmail. I have been looking at free and commercials controls but i cannot seem to find any options out there that provide the display similar to gmail. i do not want any hosted solution. I want the chat to run with my Oracle Database that i have. I will be using it for an intranet application that we are making...
    See more | Go to post

  • raghavendrachar
    started a topic partial page refresh

    partial page refresh

    Hi,
    I am doing you-tube like/dislike script for my web page having comments given by user and other users may like or dislike the comments.

    I want to do is that when user click on like or dislike images , it automatically update the database and update the counter on web-page with out refresh.

    Code:
    <script type="text/javascript">
    $(document).ready(function()
    {
    $(".like").click(function()
    ...
    See more | Go to post
    Last edited by Meetee; Oct 31 '11, 05:12 AM. Reason: code tags added
Working...