5,277 Posted Topics

Member Avatar for amrita111

You can use the javascript test method. This method can be used to test for a match in a string. It returns true (match) or false (no match). <input type="text" id="zip" onkeyup="isValid()" /><br/> <span id="result"></span> <script> function isValid(){ var zip = document.getElementById('zip'); var result = document.getElementById('result'); var isValidZip = /(^\d{9}$)|(^\d{5}-\d{4}$)/.test(zip.value); …

Member Avatar for amrita111
0
102
Member Avatar for Deep Modi
Member Avatar for Deep Modi
0
238
Member Avatar for MartinT99
Member Avatar for tony75

Generally, when you have more than one checkbox, you give them the same value for the name attribute, then in your PHP code, use a loop to retrieve the values.

Member Avatar for tony75
0
1K
Member Avatar for ronh100

The best way to go about this is to post the code you have so far, and more information about what the script needs to do.

Member Avatar for JorgeM
0
48
Member Avatar for lewashby

If you include an external js file, you should do so after the reference to your external stylesheet.

Member Avatar for JorgeM
0
56
Member Avatar for beastie805

So both your wired and wireless connections are not working? Could be a variety of things... can the computer connect to another network? Try booting on another OS, maybe with a Linux live type of media so you don't have to reinstall the alas to perform this test. If you …

Member Avatar for JorgeM
0
120
Member Avatar for mmcdonald

Based on your description it would seem to me that the first time you click, the if condition is True and the second time its False, hence the need to click twice. Would need to see the rest of the code and use my browser console for testing to know …

Member Avatar for JorgeM
0
13K
Member Avatar for casey.li.146

In your HTML, change the input type from "button" to "submit". `<input name="submitbtn" type="submit" value="Submit" />`

Member Avatar for JorgeM
0
4K
Member Avatar for gahhon

They look the same except for the `<Mini Header>`. Am i missing something here?

Member Avatar for gahhon
0
134
Member Avatar for jasonleethomason

Try this... connect via Wireless and Ethernet, on each connection, open a command prompt, type ipconfig /all. compare the results of your wireless connection to that of the ethernet connection. They should be identical with regards to ip, subnet mask, default gateway and dns settings.

Member Avatar for rubberman
0
183
Member Avatar for Zain_2

If you provide your sample code, we can help you figure out where the problem is and provide guidance.

Member Avatar for JorgeM
0
121
Member Avatar for yogesh001
Member Avatar for kellyperry15
Member Avatar for nadiam

You shouldn't use mysql_* functions, since they are deprecated. Use mysqli_* or mysql_pdo. The problem is likely with your query. Have you tried the query manually to see what the results are?

Member Avatar for nadiam
0
217
Member Avatar for DTSCode

Did you make sure that you have your custom error404 page in the correct directory?

Member Avatar for TheJeffMatson
0
274
Member Avatar for jatinmca

You need to provide more information. What isn't working? What error messages to you see? Are you sure the "online" environment is supporting ASP.NET?

Member Avatar for Sathish_3
0
1K
Member Avatar for DTSCode

>i actually got it figured out. it turns out i was googling wrong. this is what it looks like now If you post how you solved the issue, this would be helpful to others with a similar problem.

Member Avatar for diafol
0
279
Member Avatar for nadiam

This is very similar to another recent discussion: http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/467834/auto-calculate The suggested approach that I provided in the other thread was to use one function instead of two. Send the input element to the function, figure out which element you are working with, then extract the value from the input element, …

Member Avatar for nadiam
0
12K
Member Avatar for Izzah_1

The problem is that you opened the quote on line 98 and closed it on line 144 with <button type=" If you need to include quotes within quotes, one option is to use single quotes instead. For example.. `echo "<button type='button' .... </button>";` you can also escape your quotes.. Do …

Member Avatar for JorgeM
0
690
Member Avatar for swagato.datta

Can you provide more information about what exactly it is that you need help with? The title of your post is related to previewing. If all you need is to preview something that is within a textbox, you can do so with JavaScript. how do you want it to be …

Member Avatar for JorgeM
0
156
Member Avatar for Smiti
Member Avatar for o Chantelle o
Member Avatar for booicu
0
280
Member Avatar for AdamBasich

I do see a difference in the spacing between items in the navigation list when viewing via Chrome vs IE10, but I see the same spacing on all of your pages. I beleive the spacing issue could simply be the default style applied by the brower. you can override it …

Member Avatar for AdamBasich
0
126
Member Avatar for ObSys

Just to point out in the event its not obvious, in pixelsoul's example, aside from the jQuery code to match the heights, he removed the height properties from the leftside and rightside content divs. that's important to note otherwise, it would seem that the jQuery code doesnt work properly. Here …

Member Avatar for JorgeM
0
342
Member Avatar for gahhon

I have had a similar problem where I had to move some code from page_load to another event in the page cycle, say Page.LoadComplete Event

Member Avatar for gahhon
0
1K
Member Avatar for nolife

There's another similar thread where someone was asking how to have a random background when the page loads similar to tumblr.com. http://www.daniweb.com/web-development/threads/466413/making-a-website-with-a-changing-backgroung What part of tumblr's page are you trying to recreate? a solid background and a login form?

Member Avatar for pitic
0
254
Member Avatar for NoCodeMonkey

Plenty of switches that have 10mb ports. If you do a search, many of the results are sites that sell these appliances. Example: http://www.amazon.com/Cisco-Systems-Catalyst-Switch-100BTX/dp/B0000515FS http://www.amazon.com/Cisco-Systems-Catalyst-Switch-Slots/dp/B0000515KP

Member Avatar for CimmerianX
0
247
Member Avatar for GiddyupGilbert

You are likely getting a 404 because when the form is submitted, the action specifies this page: html_form_send.php Does that page exist? Not sure why you have another form element towards the bottom with the mail to.

Member Avatar for pixelsoul
0
112
Member Avatar for varunneetye
Re: url

Is this happening only on a certain set if clients? Sounds like this may be a URL length problem. How many characters total in the URL?

Member Avatar for varunneetye
0
132
Member Avatar for alexis.nicholson52

>Blogger but SEO expert suggested me to have an internal blog on website Can you clarify what you mean by this statement. > I want to ask how do i have my blogger posts on website You want to display a list of article names and links back to your …

Member Avatar for mayaestat
0
197
Member Avatar for mukulnimker7751

>i m developing a web portal whcih can be accesed over intranet.i need to inbuild a feature that the webpage will take authentication frm windows login. Asuming a windows network.... The easiest way to do this is to run your website on IIS, disable anonymous authentication, enable Windows authentication. If …

Member Avatar for JorgeM
0
269
Member Avatar for larin83109
Member Avatar for mario90

Try math.floor instead. You will then get numbers within the range of 0-4 which is what you want because you are using an array. pageArr[0] - pageArr[4]

Member Avatar for mario90
0
256
Member Avatar for sohail.comsians

Keep in mind that PHP is a server side scripting technology. You will need something client side, such as flash, silverlight, java, etc...

Member Avatar for isaac.iji.5
0
277
Member Avatar for mysybet

Take a look at this reference documentation: http://php.net/manual/en/language.types.string.php If the string is enclosed in double-quotes, PHP will interpret escape sequences for special characters such as... `\"` This gets interpretted as a double quote. Try this instead.. $part="..\fl1\\"; echo "OK";

Member Avatar for diafol
0
174
Member Avatar for jacob21

The problem appears to be in line 3 of your code. It must not be evaluating to 'ajax' and therefore the IF condition is evaluating as FALSE. Because if you simplify the code, the variable $newtype is working as expected within the IF block. See this simple example.. <?php $newtypeid=$_REQUEST['newstype']; …

Member Avatar for diafol
0
262
Member Avatar for leroy green

I'll try to give you a hand with some of these items but we need to clarify something first. you indicated that the code above is your default.aspx, but the page directive indicates otherwise. This appears to be your Master page (masterpage.master). Master pages are generally used for create a …

Member Avatar for leroy green
0
296
Member Avatar for Rumaiya
Member Avatar for jrevox
Member Avatar for adil.ghori

So, based on your description it sounds like you have a simple workgroup setup. You are interested in setting polocy on the computers and possibly doing some URL/content filtering. Without additional hardware/software, its going to be challenging to apply the additional layers of security you described. Do you have access …

Member Avatar for KOFI_1
0
257
Member Avatar for نايف_1

You can create filters in gmail to perform a certain action against the sender, or messages that have certain words, etc... Here is more info on this subject: https://support.google.com/mail/answer/8151?hl=en

Member Avatar for Ankki
0
169
Member Avatar for gahhon
Member Avatar for gahhon
0
146
Member Avatar for gahhon

Have you tried to further customize the look and feel of the page for printing using CSS Media Types, @media print? You can then provide customized values for properties and/or display: none to those elements you do not want included in the print.

Member Avatar for gahhon
0
204
Member Avatar for tqmd1

There is generally no right or wrong if the code works as you intend it to. However, code could be written in more/less efficient ways, more/less readable, etc... >Is it possible to use php codes in <html> tag. Yes, you can insert PHP within your HTML by using the open …

Member Avatar for diafol
0
127
Member Avatar for jacobin.draks

Halware? never heard of it. Sounds like you are trying to create some form of malware. Please, find something more constructive to do with your time. Start with reading the rules of this site: http://www.daniweb.com/community/rules

Member Avatar for Deep Modi
0
108
Member Avatar for noorullah06
Member Avatar for nadiam

If you want to display the current year on the page, you can do so client or server side. Since you are already writing PHP code, just echo the year: date("Y"); To save the year in the database, include a variable in your insert string that contains the value of …

Member Avatar for JorgeM
0
1K
Member Avatar for Farhad khan

I'm was running my main PC on Windows 8 and I recently upgraded it to 8.1. I've noticed no difference with regards to performance. I'm now OK with Win 8. I waited quite a bit of time before I moved off of Win 7. In general, I've been happy with …

Member Avatar for Deep Modi
0
178
Member Avatar for pwink44

>Should I be concerned about the usernames and passwords as I use the same one for a bunch of sites?? I would say most definately regardless of this breach with Adobe. If you share the same username and passwords across multiple sites, it would be very easy for someone to …

Member Avatar for pwink44
0
174

The End.