15,688 Topics
![]() | |
I have the following code working just fine, however I cannot get the .show('slow') on the "myDiv" content to "slow" down when displaying. Actually I can remove the .show('slow') all together and everything still works just fine. It is as if it is ignoring the .show() completely on that line. … | |
Hi, I'm trying JSON for the first time and I have a php file that returns this: [CODE] [{"userID":"39160902151","content":"I really can't wait to get this thing done :-)","published":"2011-06-07 10:33:35"}] [/CODE]. What do I do if I want to display only the userID from this data using javascript. I load this … | |
Hello take a look at my code then I'll tell you what error I get... [CODE]var Top = document.getElementById("topmargin").value; var Left = document.getElementById("leftmargin").value; var Background_Color = document.getElementById("backgroundcolor").value; var Border_Width = document.getElementById("borderwidth").value; var Border_Type = document.getElementById("bordertype").value; var Border_Color = document.getElementById("bordercolor").value; var num = id+1; var new_id = "a"+num; document.getElementById(new_id).style.top = Top; … | |
Hello Are there any tools which can be used specifically to design html forms and generate the codes, which can then be copied to an html page, more like drag and drop, and the codes and validations made available to copy elsewhere? | |
There is any way at all to write a c# code from .js file? Thank you . | |
Look at the code... [CODE]var css_code = new Array(); css_code[css_code.length + 1] = "<div style='height: "+square_height+"; width: "+square_width+"; "+square_rounded+" border: "+border_width+" "+border_type+" "+border_color+"; position: absolute;'></div>";[/CODE] This is just a tiny snippet of a huge amount of code, but when I add a new item to the css_code array. An extra … | |
What am i doing wrong? [CODE]function error_msg(code) { if (code=="pass") { alert(code); //pops/works $('#error').addClass("notification fail").fadeIn(); //does nothing $('#error').html('<strong>Incorrect Password</strong><span style="color:black"> - Please try again.</span>');//does nothing } }[/CODE] Any help will be appriciated :-) | |
Hi, I am having a problem in javascript.It is giving me access is denied error on internet explorer and I am unable to move to my next page.Here is the javascript code. [CODE]stuHover = function() { var cssRule; var newSelector; for (var i = 0; i < document.styleSheets.length; i++) for … ![]() | |
Hello, I show a form in the modal pop up which has several drop down lists in it. The problem is that if i select nething from the drop down list then my selected index change event fires and my form gets refresh..how to overcome this problem?? Can we use … | |
The case scenario is like I have to check all available usernames/names from the databases whenever I type the letters instanly. For example:- When type "je" in the userfield, it should show all combination of names starting with "je" inline. I am attaching a picture as sample. Its indian railway … | |
Hello all. Even though my javascript/ajax knowledge is very low, I would like to be able to do the following, for which I ask you for help: I have a python script that runs from php with exec command. It takes about 5-10 seconds to complete. While the python script … | |
Back around 2004 and 2005, I had embarked on a web project that included the ability for my users to draw on a web page—or at least, that was one of the requirements. At the time, most of my web development had been server-side, with very little JavaScript. Long story … | |
So, here's the picture: page1 has, at the bottom of it, a frame loading page2. The question is: can use a javascript (how?) in page2, so when the page1 loads, it will focus to the frame loading page2? Thanks! | |
Hello. I'm not so good at Javascript, but I tried to write some code to obtain some form values and write those to a query string to use in AJAX. It seems to be working partially, but I don't understand what is going wrong. What happens is that in the … | |
hi, please help me to do this. i want to display one panel on top space. and i want one button on that panel to close itself. please help me. thanks in advance Jack | |
Dear All, Hi.. I need help… Multicolumn text flowing through multipage sliding, should calculate total column, gap, text size, image size for different browser. To be control with Previous Page & Next Page. At the ending of story the next Page sliding should stop. Please give me suggestions how to … | |
I am using jQuery Dialog to show dialogs when preforming insert, delete and update operations in a GridView inside an UpdatePanel. The problem is that there is a repetition when preforming more than one operation. For example, when updating a record on the page for the first time, it only … ![]() | |
Ive created a fancy box driven login.. Now i wonder if can I directly compare the login username and password to mysql using php tags.? Here's the initial coding but it doesn't work..please correct me.. [code=javascript] <script type="text/javascript"> $("#login_form").bind("submit", function() { if ($("#login_name") != <?php $row_rec_mem_accnt['user_name']; ?> || $("#login_pass")!= <?php … | |
Hello Everyone, I am currently using windows media player to stream my shoutcast radio. I have been able to use javascript for my custom controls to keep with my site layout and now i want to show what is playing on the webpage with javascript. I would also like this … | |
there is an error somewhere in my code, but i cant work it out. could one of you give it a quiq look? <html> <head> <script language="JavaScript"> function bereken() { j = parseInt(fx.s.value) p = parseInt(fx.j.value) s = parseInt(fx.p.value) while (j > 0 ) { j = j-1 r = … | |
Dear Friend..... I want to make web site that it want to plugging with facebook.....:?: In other words, If i type & submit something,I want to publish in Facebook wall (if i can publish in selected person's walls its very worth) it like what the youtube done after some video … | |
Dear All, Can you visit this link [url]http://183.78.169.54/v3/addTab.php[/url] then press the tab Drive Licenses and then press the pick button for the license expiry date and you will notice the calendar appear at the bottom. The problem if I put my codes in tab style then only this problem occur … | |
What I thought this code would do is, if i typed non-numbers it would continue prompting me until I finally input a number which it then will output the word "one" on the page. What it does is if I type a number first it outputs the word "one" on … | |
Hi.. I have a project to display PDF files by clicking a hyper link. The PDF are huge in size and it will take a long time to load. I want to show a message like "Loading Please wait" on that loading time.. Any body have idea about this?Help me.... … | |
Dear all, I have done a sample program using ajax . But onreadystatechange not working. If i specifies "false" in the open method. Example program : [code] <html> <head><title>Sample Ajax File</title></head> <script type="text/javascript"> function ajax_function(){ var httpReq = new XMLHttpRequest(); httpReq.onreadystatechange=function(){ alert(httpReq.readyState); } httpReq.open("GET","http://localhost/ajax/sample.php?name=prem&Id=1",false); httpReq.setRequestHeader("Content-type","application/x-www-form-urlencoded"); httpReq.send(null); } </script> <body> <form … | |
I'm writing a little script thats a countdown timer. What i want to do is be able to set a length of time like 3, 5, 7 days etc. So i will have [CODE] var dif = 3; var now = new Date(); var end = new Date(now.getFullYear(), now.getMonth(), now.getDay() … | |
[CODE] <script language="javascript"> function add() { var divTag = document.createElement("div"); divTag.id = "div"; //alert(divTag.id); //divTag.setAttribute("align","center"); //divTag.style.margin = "0px auto"; var j=1; divTag.className ="dynamicDiv"; var v1 =document.getElementById('ttlBoxes').value; var v2 =document.getElementById('boxno').value; var d1=parseInt(document.getElementById('ttlBoxes').value); var d2=parseInt(document.getElementById('boxno').value); if(v1!=""&& v2!="") { if(d2<d1) { divTag.innerHTML ='<br /><table width="101%" border="0" align="center" cellpadding="5" cellspacing="1" class="entryTable" ><tr ><td width="150" … | |
Hello to all Actually I am on web project with html and java script and my problem is that I have send feed back form as E mail, is there any though which can I send My feed back as an email without using php or asp because I know … | |
hi, I have created a drop down box and have added the data from my database. Now i have repeated values inside drop down since its being retrieved from database directly.I want those repeated values to be removed. For instance, My drop down values are retrieved from database called fruits … | |
[CODE] <script type="text/javascript" src="js/jquery-1.3.2.js"></script> <script type="text/javascript" src="js/jquery-1.3.2-vsdoc.js"></script> <script type="text/javascript"> $(function() { $("#Button1").click(function() { $.getJSON("ticketPriceInArray.js", function(json) { var ticketPriceArray=[json.tickets[0].price, json.tickets[1].price, json.tickets[2].price, json.tickets[3].price, json.tickets[4].price, json.tickets[5].price]; alert(json.tickets[0].type); var inputWord =$("#keyword").val(); if (inputWord=="A"){$("#result").text(ticketPriceArray[0]);} if (inputWord=="B"){$("#result").text(ticketPriceArray[1]);} if (inputWord=="C"){$("#result").text(ticketPriceArray[2]);} if (inputWord=="D"){$("#result").text(ticketPriceArray[3]);} if (inputWord=="E"){$("#result").text(ticketPriceArray[4]);} if (inputWord=="F"){$("#result").text(ticketPriceArray[5]);} }); }); }); </script> [/CODE] Here is "ticketPriceInArray.js" [CODE] { "tickets":[ … |
The End.