15,127 Topics
| |
I am trying to call a .php or .html file to display an input page for emails. The file ContactDisplay.php contains a <button> to onclick a call to the sendEmail() function which, in turn, sends data to the file ContactEmail.html. The data is retrieved using $_POST and used to populate … | |
i tried almost a week to figure out how to insert a hyphen after successful date entry ,in my form validation, but couldnt find appropriate intrinsic event and logic. help me out.. eg: when the user enters 26 the script automatically inserts '-' since 26 is a valid date. Next,when … | |
Hi, this is probably a trivial question but I'm so new to this I would learn a lot from any help... Why does the content in global variable "str" disappear as soon as I unclick the alertbox? How can I keep it? I put the string in a <div> and … | |
I am new to Ajax and have only been learning jQuery on and off for a few months so I apologise if this should be simple. I have followed a tutorial to get shopping cart functionality working using PHP, jQuery and Ajax and it is nearly there but I have … | |
Hi all.I found this code on a forum to confirm that the user wants to delete the record from database and that the link has not pressed accidently.But it is not deleting the record even after pressing ok.This is may be because the id is not passed properly. Can anyone … | |
hello ! please any one help me how to pass my array as a parameter from extjs 3 to c# webserivce , so that i can save it in my database please help me Best wishes | |
The code below will add new form elements when ever I click the add button. However when you add more elements the combo box element goes out of alignment. Try it out. Now is there a way to fix this problem?. [U]multientry.js[/U] [CODE] function addValue(divname){ var newdiv = document.createElement('div'); newdiv.innerHTML … | |
[CODE] <div id="navcontainer"> <ul id="navlist"> <li><a href="#" id="current">Item one</a></li> <li><a href="#">Item two</a></li> <li><a href="#">Item three</a></li> <li><a href="#">Item four</a></li> <li><a href="#">Item five</a></li> </ul> </div> [/CODE] This is my code for menus. How to hide "Item two, three, four, five", If "Item one" is clicked (using jquery)? | |
[IMG]http://i.imgur.com/UfUjV.png[/IMG] there are more rows on the table and each row has a button.i need to the get first coloum value of each record by clicking the button.. | |
Hi, I am looking a Javascript code that can fold my sidenavigation. [URL="http://ocklaw.com/new/about/"]http://ocklaw.com/new/about/[/URL] The first show would be: Vision History Client People The next : Vision History Client People Chairman Partners Director Advisors Senior Lawyers Junior Lawyers Secretariat Librarians How ? So when people select people then the next navigation … | |
Hi All I found this code online what need, expandable table we have to reserve two rows for each entity, one that will be master row and another that will show details. Details rows are toggled by clicking on master row. What I am doing is in my table second … | |
Hi, The code below always returns Fail although I send correct username and password. Can anyone spot what I do wrong? Thanks in advance [CODE]<?php $username = htmlspecialchars(trim($_POST['username'])); $password = htmlspecialchars(trim($_POST['password'])); if($username == 1 && $password == 1) { echo json_encode(array('result' => 'success', 'username' => 'myname'); } else { echo … | |
For my code below i use getElementsByTagName('p') to get the values of the paragraphs that the user enters. but for some reason it when i use textNum[0].value it returns undefined. i tested it with textNum.length and the length keeps increasing which means values are being added to the array. not … | |
I need some good open source slider and photo gallery | |
Hello I am trying to do a simple program. But the basics of this program must have buttons like a calculator. So I was just testing my array and for loop and I can't seem to get anything to show up whatsoever I've tried document.write, alert and so forth. and … | |
I'm beginner with jquery, and I need to create slider of few images on home page. When I check some tutorials on line, all use jquery plugins, and every look quite different. I'm quite confused. So, I would like to see what plugin you use (if you use) when making … | |
0 down vote favorite share [g+] share [fb] share [tw] I have a class in which i have a method name method() returning a String in the form of JSON string. The output is :: [CODE] [{"ID":1,"Names":"Shantanu"},{"ID":2,"Names":"Mayur"},{"ID":3,"Names":"Rohit"},{"ID":4,"Names":"Jasdeep"},{"ID":5,"Names":"Rakesh"}] [/CODE] Now this in the form of data that i want to Populate … | |
Hi, Im using the following script [CODE] var ajax1 = new Ajax_init(); ajax1.GetData('bindddl,ddlCity_01,SELECT cityid,cityname FROM city where countryid='+text.value+' order by cityname','ddlCity_01'); var ajax2 = new Ajax_init(); var ctyid; if(document.getElementById('ddlCity_01').value){ ctyid=document.getElementById('ddlCity_01').value;} else{ alert('szdfzxf'); ctyid=0; } ajax2.GetData('idols, where cityid='+document.getElementById('ddlCity_01').value+ ' and countryid='+document.getElementById('ddlCountry_01').value ,'divlist',p); } [/CODE] Here is the ajax code: function Ajax_init() … | |
Hi, I wants to ask about how to call the javascript function/method in .aspx file from code behind(or server code)? for example: Javascript: [CODE] function initCard(userid) { //userid, balance, subsidy breakfast, subsidy lunch, subsidy dinner var iRet = winCtrl.initCard(userid, 0, 0, 0, 0); } [/CODE] code behind: [CODE] Dim sb … | |
Hello everyone... I have a good issue here... I made a website in WP and I have now a conflict with an old plugin. That plugin is called wpdir (word press directory pro) and is useful for several reason but regretfully no one care about that code anymore. Here are … | |
Hi there I have been trying to experiment with Parsing XML using Javascript. For some reason nothing happens. I found this example on W3 schools. Any idea why it's not working? This is my HTML page which contains the Javascript [CODE]<html> <head> <script type="text/javascript"> if (window.XMLHttpRequest) {// code for IE7+, … | |
I'm currently working on an html5 web application. While my app is running, is there a way to get access to currently playing audio through my app? For instance, if youtube is playing, Is there a way that I could stream all audio information coming from anywhere in my computer, … | |
I'm trying to write a selection tool but I'm kinda stuck. My idea is to have a list of items, and if the user selects one one from the list, it prompts the user to add information on the selection Say, <li> sunday monday tuesday ... </li> if tuesday is … | |
[I][COLOR="Green"]!below is the code snippet [/COLOR][/I] This is a multi-use property toggler. In the given example we are toggling a sub property of an element. e -is the property owner to be targeted; p - is the property name to be set; v - is the property value; henceforward changing … | |
I don't know where exactly to post this, I hope this is the correct section. I have been working on making a forum. I want to introduce notification alerts for 1) new messages, 2) reply to their posts, for every user. But I don't have any idea about displaying the … | |
i have a page for user registration where i a form with a image tag to it. i want the user to fill the form but as soon as he uploads the image i want the image uploaded to be displayed on the image tag. Then i want all these … | |
Hi Guys, Sorry its been a while since iv posted been busy. ok so im working on this website That I`m trying to code in plain HTML or atleast try and get as far as i can using plain HTML. so i`ve created the main page where i can navigate … | |
I want to create a code that will allow me to calculate bonuses based on the 10 salarys. i need if statements for this, i need to then assign the new value to my other array i have set up called total, and then i need to display that as … | |
Hi all, I just wanted to let you gals&guys know about Opa (opalang.org), a new programming language for web development. I think Opa is really cool. It takes care of both server- and client-side programming in one language, where all the communication between the server and clients is fully automated … | |
Hello potential problem solvers! I want to apologize ahead of time if this is a repeat of a similar question that I did not find, but here's my issue. I have a form I recently have been asked to try to make work seamlessly(no page refreshes), so of course I'm … |
The End.